linux时间函数

1. struct tm time_t (1) struct tm struct tm { int tm_sec; //秒, 0-59 int tm_min; //分, 0-59 int tm_hour; //时,0-23 int tm_mday; //一个月中的日期,1-31 int tm_mon; //月份,0-11,0代表一月 int tm_year; //年份
相关文章
相关标签/搜索