摘要: 下载地址:http://yunpan.cn/Q4jwmsNCw82iw 阅读全文
posted @ 2014-02-24 23:24 陈泽泽 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 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,strTime; GetLocalTime(&st); strDate.Format("%4d-%2d-%2d",st.wYear,st.wMonth,st.wDay) 阅读全文
posted @ 2014-02-24 22:45 陈泽泽 阅读(1782) 评论(0) 推荐(0) 编辑