[fpc-pascal] Convert complicated string to DateTime

Gabor Boros gaborboros at yahoo.com
Wed Mar 4 09:46:27 CET 2009

leledumbo írta:
> What's the output of this:
> FormatDateTime('mmmm dd hh:nn:ss yyyy',Now);

március 04 09:42:02 2009

> that way you can understand what you should supply to ScanDateTime as the
> corresponding value for mmmm format. I mean, maybe it's not November, but
> something else equivalent in your localization.

But I defined LongMonthNames in a TFormatSettings type variable and 
passed to ScanDateTime.

More information about the fpc-pascal mailing list