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: http://www.freepascal.org/docs-html/rtl/dateutils/scandatetime.html _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal