[fpc-pascal] Convert complicated string to DateTime

Gabor Boros gaborboros at yahoo.com
Tue Mar 3 22:07:09 CET 2009


Hi,

I want to convert a string to a TDateTime variable.
In example the string is: 'November 21 09:42:21 2008'.
I tried ScanDateTime with 'mmmm dd hh:nn:ss yyyy' pattern but not 
working. How can I convert this type of string to DateTime?

Gabor





More information about the fpc-pascal mailing list