convert CString to CTime

前端 未结 2 1224
我寻月下人不归
我寻月下人不归 2021-01-20 19:14

In smart device MFC application:

I have successfully converted CTime to CString. Now I want to convert it back, CStr

相关标签:
2条回答
  • 2021-01-20 19:44

    Check out the example mentioned in this MSDN doc page: COleDateTime::ParseDateTime

    0 讨论(0)
  • 2021-01-20 20:00

    Use COleDateTime::ParseDateTime(CString) and then convert it to CTime.

    0 讨论(0)
提交回复
热议问题