[Gambas-user] Best way converting dates into strings forth and back

Jussi Lahtinen jussi.lahtinen at gmail.com
Sat Dec 11 00:24:47 CET 2021


>
> I see here  you pass 10 December 2021 22:27 , is'nt it.
>

Yes.



> You say if you print it today  it will be 12/10/2021 20:27
>

Yes, that is the date in UTC.



> but if you print it in July it will be 12/10/2021 19:27.
>

Yes, because in July the timezone changes due to daylight "saving".



> But  then the converting would depend  on printing date, do you mean that ?
>

Yes, the local time is converted according to the currently used timezone.


Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20211211/e090bdb2/attachment.htm>


More information about the User mailing list