Indy 9 | Content | Index | Reference

TimeZoneBias
Unit: IdGlobal
Calculates the local timezone difference from UTC.

    function TimeZoneBias: TDateTime;

Unit
IdGlobal
Return Value
Double - Hours and fractional minutes offset from UTC.
Description
TimeZoneBias is a Double function that returns the difference between the local timezone for a computer system and Universal Time Coordinates (UTC).

TimeZoneBias is expressed using any applicable local timezone conventions like Daylight Savings Time, and represents the number hours and fractional minutes that the timezone differs from UTC.

Note: On the Linux platform, TimeZoneBias uses the value from GTimeZoneBias as the local timezone difference for daylight savings time.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.