将 CString 转换为 CTime
2022-01-12 00:00:00
mfc
在智能设备 MFC 应用程序中:
我已成功将 CTime 转换为 CString.现在我想把它转换回来,CString 到 CTime.我该怎么做?
I have successfully converted CTime to CString. Now I want to convert it back, CString to CTime.
How can I do that?
推荐答案
使用COleDateTime::ParseDateTime(CString),然后将其转换为CTime.
Use COleDateTime::ParseDateTime(CString) and then convert it to CTime.
相关文章