[Gambas-user] CDate Documentation

Benoit Minisini benoit.minisini at gambas-basic.org
Wed Nov 16 22:55:19 CET 2022


Le 16/11/2022 à 22:44, Jussi Lahtinen a écrit :
>     This is why I summarized that by "the date is stored in UTC.".
> 
> 
> Yes, and others are criticized for using the same shorthand.
> Everyone knows it is actually a numerical value. We get that. Doesn't 
> change a thing I have said.
> 
>     But that pre-defined instant could have been anything else.
> 
> 
> Yes, could have been, but it is *not* something else. And if aunt had 
> balls, then they would be uncle. However, I think we should focus on how 
> things actually are.
> IE date is numerical value corresponding to UTC. And the majority of the 
> relevant functions use localization as well as your system clock, which 
> makes this not so handy.
> 
> Are we finally at the same page?
> 
> 
> Jussi
> 

If you want, I can store the date with a random origin in the day that 
changes at each program startup.

It will change nothing.

Everything will continue to work exactly the same way.

And then I will be able to remove the sentence "the date is stored in 
UTC" from the wiki.

Got it?

-- 
Benoît Minisini.



More information about the User mailing list