Xojo.Core.TimeZone.Current

From Xojo Documentation

Shared Method

Xojo.Core.TimeZone.Current() As Xojo.Core.TimeZone

Supported for all project types and targets.

The current time zone.

Sample Code

Get the current time zone:

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