TimeZone.Abbreviation

From Xojo Documentation

Read-Only Property (As String )
StringValue = aTimeZone.Abbreviation

New in 2019r2

Supported for all project types and targets.

The abbreviation for the time zone.

Sample Code

Get the abbreviation for the current time zone:

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