[Gambas-user] Help GMT Time

Denis Crowther denisc at exemail.com.au
Thu Dec 22 03:10:11 CET 2022


On 12/22/22 10:38, Pino Zollo wrote:
> Hi,
> 
> My computer is set in local time and follows the summer time changes.
> 
> How can I get the GMT time (UTC) independently from the PC clock ?
> 
> Can some good soul provide me with some code ?
> 
> Thanks
> 
> Pino
> 
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----

see the examples at the bottom:
https://gambas-buch.de/dwen/doku.php?id=k9:k9.3:start

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


-- 
Regards
Denis



More information about the User mailing list