摘要: time(2) #include <time.h> time_t time(time_t *timep);//获取当前时间距离1970-01-01 00:00:00 经历的秒数 p = struct tm *localtime(const time_t *timep);//根据上边timep的值计算 阅读全文
posted @ 2019-05-17 15:36 MoonXu 阅读(2731) 评论(0) 推荐(0)