[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'sysutils' (#rtl)

GetLocalTimeOffset

Return local timezone offset

Declaration

Source position: datih.inc line 198

function GetLocalTimeOffset: Integer;

Description

GetLocalTimeOffset returns the local timezone offset in minutes. This is the difference between UTC time and local time:

UTC = LocalTime + GetLocalTimeOffset

Note that on Linux/Unix, this information may be inaccurate around the DST time changes (for optimization). In that case, the unix.ReReadLocalTime unit must be used to re-initialize the timezone information.

See also

unix.ReReadLocalTime

  

Re-Read the local time files.

Date

  

Return the current date.

Time

  

Returns the current time.

Now

  

Returns the current date and time.


Documentation generated on: Sep 28 2017