In smart device MFC application:
I have successfully converted CTime to CString. Now I want to convert it back, CStr
CTime
CString
CStr
Check out the example mentioned in this MSDN doc page: COleDateTime::ParseDateTime
Use COleDateTime::ParseDateTime(CString) and then convert it to CTime.
COleDateTime::ParseDateTime(CString)