[fpc-pascal] How to convert ISO format string in FreePascal

Marco van de Voort marcov at stack.nl
Tue Apr 27 21:57:22 CEST 2010

In our previous episode, Frank Church said:
> attempt is based on the method here,
> https://forums.codegear.com/thread.jspa?threadID=16074, but
> StrToDateTime in FPC does not use the FormatSettings parameter.

Datetime handling has been rewritten since 2.4.0, and this is already merged
back to 2.4.1 afaik. (though there are still open tickets iirc)

For 2.4.0 you could try to use scandatetime:


More information about the fpc-pascal mailing list