[Gambas-user] [Gambas Bug Tracker] Bug #1327: format(now(), "t") gives CET but shouldn't it CEST or MEST ???

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Wed May 23 12:34:55 CEST 2018


http://gambaswiki.org/bugtracker/edit?object=BUG.1327&from=L21haW4-

Michael ALTROGGE reported a new bug.

Summary
-------

format(now(),"t") gives CET but shouldn't it CEST or MEST ???

Type             : Bug
Priority         : Medium
Gambas version   : 3.10
Product          : Language


Description
-----------

Print "UTC  = "; Format(Time(DateAdd(Now(), gb.second, System.TimeZone)), "hh:nn:ss") 

gives:

UTC  = 10:22:55 which is correct, but

Print Format$(Now, "hh:nn:ss"); Format$(Now(), "(t)")

gives:

12:22:55 (CET) which is the correct time but false timezone ...






More information about the User mailing list