[Gambas-user] CDate Documentation
Benoit Minisini
benoit.minisini at gambas-basic.org
Sun Nov 13 22:46:19 CET 2022
Le 13/11/2022 à 22:25, Jussi Lahtinen a écrit :
>
> Please explain how you convert a string representation of a date
> with no
> explicit timezone into a date timestamp, without an implicit timezone.
>
>
> In most cases you don't need to convert at all, you just assume it is
> the timezone in use.
> If you need to convert it to some specified timezone, then you need to
> have information what was the timezone given with the date.
> IE you are in the same situation as we are now, expect no automatic
> failures.
>
>
> Jussi
>
If you want the timezone in use, just use 'Val()' then. Leave 'CDate()'
alone. I don't see why it is a problem.
Regards,
--
Benoît Minisini.
More information about the User
mailing list