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 <mar...@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@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>



-- 
Frank Church

=======================
http://devblog.brahmancreations.com
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to