In the MFC application for smart devices :
I successfully converted CTimeto CString. Now I want to convert it CStringto CTime. How can i do this?
CTime
CString
Use COleDateTime::ParseDateTime(CString)and then convert it to CTime.
COleDateTime::ParseDateTime(CString)
See the example mentioned on this page of the MSDN document: COleDateTime :: ParseDateTime
Source: https://habr.com/ru/post/1758143/More articles:Best way to generate CRC8 / 16 when entering an odd number of BITS (not bytes)? C or Python - cIs the binary representation of native types guaranteed to be the same for all purposes? - androidкак установить график, чтобы быть на дне не в центре - delphiIs there a unicode character similar to ascii (but not equal)? - unicodeAjax google visualization API with jquery - javascriptwant to convert ColeDateTime to CTime - mfcAvira Antivirus Detects Listening Function as Backdoor Model - c ++How to make Linq on ITypedList? - c #__Gnu_cxx help :: hash_map - hashmapHow to use dotfuscator in our dll - c # -4.0All Articles