MFC字符串与时间的相互转换
摘要:
字符串--->时间: COleDateTime temp1; COleDateTime temp2; temp1.ParseDateTime(_T("9999-12-12")); temp2.ParseDateTime(_T("15:05:05")); 时间转换成字符串:COleDateTime beginTime(dlg.m_oleStartTime1.GetYear(), dlg.m_oleStartTime1.GetMonth(), dlg.m_oleStartTime1.GetDay(), dlg.m_oleStartTime2.GetHo 阅读全文
posted @ 2011-10-21 11:32 LateStop 阅读(3833) 评论(0) 推荐(0)