Parse a Date from a String in Win32

后端 未结 5 1105
悲哀的现实
悲哀的现实 2021-01-20 16:39

I have a string containing a date, and another string containing the date format of the first string. Is there a function that I can call to convert that date into something

5条回答
  •  孤街浪徒
    2021-01-20 16:59

    It doesn't do quite what you've described, but I'd start by using COleDateTime::ParseDateTime. It works with localized date-time formats.

提交回复
热议问题