[fpc-pascal] How to convert ISO format string in FreePascal
Frank Church
vfclists at googlemail.com
Wed May 5 23:23:42 CEST 2010
Is the an LCL routine that can get the timezone from the computer on both
Windows and Linux? None of the examples mention a way of getting the
computer's time zone.
On 27 April 2010 20:57, Marco van de Voort <marcov at stack.nl> wrote:
> 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 at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
--
Frank Church
=======================
http://devblog.brahmancreations.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20100505/c1d1afdf/attachment.html>
More information about the fpc-pascal
mailing list