And? I don't understand your suggestion.
leledumbo írta:
Gabor Boros wrote:
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?
ScanDateTime does the opposite of what FormatDateTime does, so you should
look at the output of FormatDateTime with that pattern. Note that if it
outputs String (such as that 'November'), it will depend on your
localization.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal