摘要: C:char buf[20]={0};time_t timep;struct tm *p;time(&timep);p=gmtime(&timep);strftime(buf,20,"%Y%m%d",p);//关键是要明白这个函数的使用方法。delete p; VC++版的:view plaincopy to clipboardprint?CTime t=CTime::GetCur... 阅读全文
posted @ 2009-12-14 17:09 SaikSy 阅读(418) 评论(0) 推荐(0) 编辑