[Gambas-user] Daylight "saving" and time zones

Benoît Minisini g4mba5 at gmail.com
Mon Oct 28 00:47:37 CET 2019


Le 28/10/2019 à 00:18, Jussi Lahtinen a écrit :
> I found my answer. It's no. I just got this: "10/28/2019 02:04:23.316"

No idea how you could get that with Date(2019,10,27,2,30) at the beginning!

> 
> If I'm in Finland and say I have meeting tomorrow at 13:00 in London. 
> The assumption is that the 13:00 is time for meeting *in London*, 
> independently where and when I write down it to my calendar. When me and 
> my device goes to London the system clock is shifted so that my calendar 
> is readable. Thus 13:00 is always correct despite of the time zone, 
> independently where and when it was written down.

Of course not: you wrote 13:00 *in London*, so you get the time zone 
associated with your time (I assume you have a date of course with it). 
"13:00" is not always correct, it means nothing per se. It's "13:00 *in 
London*" that is always correct, with the time zone.

-- 
Benoît Minisini


More information about the User mailing list