Unit 'Unix' Package
[Overview][Constants][Types][Procedures and functions][Index] [#rtl]

GetLocalTimezone

Return local timezone information.

Declaration

Source position: unix.pp line 106

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

GetTimezoneFile

  

Return name of timezone information file.

ReadTimezoneFile

  

Read the timezone file and initialize time routines.


Documentation generated on: Oct 27 2024