2013年4月2日
摘要: gmtime(取得目前时间和日期) 相关函数 time,asctime,ctime,localtime 表头文件 #include<time.h> 定义函数 struct tm*gmtime(const time_t*timep); 函数说明 gmtime()将参数timep 所指的time_t 结构中的信息转换成真实世界所使用的时间日期表示方法,然后将结果由结构tm返回。 结构tm的定义为 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year... 阅读全文
posted @ 2013-04-02 10:35 黑色圣光 阅读(119) 评论(0) 推荐(0) 编辑