Xojo.Core.TimeZone.SecondsFromGMT

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aXojo.Core.TimeZone.SecondsFromGMT

Supported for all project types and targets.

The GMT offset in seconds.

Sample Code

Gets the GMT offset in seconds for the current time zone:

Var gmtOffset As Integer
gmtOffset = Xojo.Core.TimeZone.Current.SecondsFromGMT
// gmtOffset = -14400 (4 hours), if US Eastern Time Zone using daylight savings time, -18000 otherwise