[fpc-pascal] Convert complicated string to DateTime
gaborboros at yahoo.com
Wed Mar 4 08:06:49 CET 2009
And? I don't understand your suggestion.
> Gabor Boros wrote:
>> 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
More information about the fpc-pascal