Skip to content

GetLocalTimezone

Return local timezone information

Declaration

Source position: unix.pp line 91

  function GetLocalTimezone(timer: Int64; timerIsUTC: Boolean; 
                           var ATZInfo: TTZInfo; var ATZInfoEx: TTZInfoEx)
                            : Boolean;
  function GetLocalTimezone(timer: Int64; timerIsUTC: Boolean; 
                           var ATZInfo: TTZInfo) : 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

Name Description
GetTimezoneFile Return name of timezone information file
ReadTimezoneFile Read the timezone file and initialize time routines