OK, forgot to update Gambas on my virtual machine... But now there is another problem. I'm in UTC+3, and when I write the time (example 12:00) with CStr(), it will be 15:00 in the settings file. Now if I go to UTC-0, I will get the alarm when my computer clock shows 15:00. I want it always assume local time.
Example if I have meeting in UK at 31.3.2017 12:00, I want simply set the alarm for 31.3.2017 12:00, independently of where I'm now. The device I'm using should worry about timezones not me. Jussi On Mon, Mar 27, 2017 at 6:15 PM, Benoît Minisini < gam...@users.sourceforge.net> wrote: > Le 27/03/2017 à 17:02, Jussi Lahtinen a écrit : > >> Using the development version, you have to store your date in the > >> settings file using CStr(), and read it using CDate(). > >> > > > > That does not work if the settings file is written in English and opened > in > > Finnish. CDate() just fails silently (returns null). > > > > > > Jussi > > It should not with the development version, as CDate() and CStr() only > use the american format. > > -- > Benoît Minisini > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user