Sign in Join
FPDoc Onlineexperiment

GetLocalTimezone function

In unit Unix

Return local timezone information.

Declaration

pascal
function GetLocalTimezone(timer: Int64; timerIsUTC: Boolean; 
 var ATZInfo: TTZInfo; var ATZInfoEx: TTZInfoEx)
: Boolean

Description

GetLocalTimeZone returns the local timezone information. It also initializes the TZSeconds variable, which is used to correct the epoch time to local time.

There should never be any need to call this function directly. It is called by the initialization routines of the Linux unit.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.