I have a CString and it is like "[CPLM]......27.12.1999" and I would like to convert string (27.12.1999) in Date , because I need 27.12.1999 for some calculations.
I have just tryed to work with ParseDateTime(), but it did not worked.
If you could help me , I will be very happy
thank you very much
One thing to watch out for is the locale, your example isn't using US date format. From MSDN "Note that the locale ID will also affect whether the string format is acceptable for conversion to a date/time value"