摘要: 1.使用CTime类CTime tm=CTime::GetCurrentTime(); CString str=tm.Format("现在时间是:%Y年%m月%d日 %X");  MessageBox(str,NULL,MB_OK);2: 得到系统时间日期(使用GetLocalTime)SYSTEMTIME st;CString strDate,strTime;Get... 阅读全文
posted @ 2010-05-13 13:50 hapus 阅读(328) 评论(0) 推荐(0) 编辑