Icon TimeZoneOffset

Unit: Internal

Available In: Client and Server Applications

function TimeZoneOffset(Value: DateTime): Integer

The TimeZoneOffset function returns the time zone offset for the input parameter. The return value is an Integer value that represents the time zone offset expressed in minutes.

Examples

X := TimeZoneOffset(Now);  // X is 240 (4 hours) for US EST during
                                   // daylight savings time (summer)
Image