TimeZone.Current

From Xojo Documentation

Shared Method

TimeZone.Current() As TimeZone

New in 2019r2

Supported for all project types and targets.

The current time zone.

Sample Code

Get the current time zone:

Var tz As Text
tz = TimeZone.Current.Abbreviation
// tz = "America/New_York", if in US Eastern Time Zone