摘要:
VC获取系统时间、程序运行时间 1.使用CTime类CString str;//获取系统时间CTime tm;tm=CTime::GetCurrentTime();str=tm.Format("现在时间是%Y年%m月%d日 %X");MessageBox(str,NULL,MB_OK);2: 得到系统时间日期(使用GetLocalTime)SYSTEMTIME st;CString strDate... 阅读全文
posted @ 2005-06-24 18:26
流云
阅读(8800)
评论(4)
推荐(0)
浙公网安备 33010602011771号