C语言实现将时间戳转换为年月日时分秒和将年月日时分秒转换为时间戳
摘要:
#include #include typedef unsigned int time_t; struct tm { int tm_sec; /* 秒 – 取值区间为[0,59] */ int tm_min; /* 分 - 取值区间为[0,59] */ int tm_hour; /* 时 - 取值区间为[0,23] */ int tm_mday; /* 一个月中的日期 - 取... 阅读全文
posted @ 2018-09-19 22:43
技忆
阅读(30429)
评论(2)
推荐(1)
浙公网安备 33010602011771号