Yes, my own code is based on sscanf, and the string format is fixed like the sample above. strftime, wcsftime, _strftime_l, _wcsftime_l these functions format tm to string, but what I want is formating string to tm or CTime object. Thanks! :)
A Chinese VC++ programmer