c++时间函数及转换
摘要:
#include <time.h>#include <stdio.h>int main(int argc, char * argv[]){ // 得到标准时间秒数time_t t_gm;time(&t_gm);// 标准时间转换到本地时间数字tm tm_local;localtime_s(&tm_local, &t_gm);printf("本地时间:... 阅读全文
posted @ 2009-06-20 02:51 chuncn 阅读(3544) 评论(0) 推荐(0) 编辑