时间转换函数 得到以ASCII码表示的时间 asctime
得到字符串表示的时间 ctime 得到指定格式的时间 strftime
序号 库类别 头文件
---------------------------------------- 1 错误处理 errno.h 2 字符处理 ctyphe. 3 地区化 local.h 4 数学函数 math.h 5 信号处理 signal.h 6 输入输出 stdio.h 7 实用工具程序 stdlib.h 8 字符串处理 string.h
时间转换函数 得到以ASCII码表示的时间 asctime
得到字符串表示的时间 ctime 得到指定格式的时间 strftime
序号 库类别 头文件
---------------------------------------- 1 错误处理 errno.h 2 字符处理 ctyphe. 3 地区化 local.h 4 数学函数 math.h 5 信号处理 signal.h 6 输入输出 stdio.h 7 实用工具程序 stdlib.h 8 字符串处理 string.h