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

ReReadLocalTime

Re-Read the local time files.

Declaration

Source position: unix.pp line 111

procedure ReReadLocalTime;

Description

ReReadLocalTime can be used to re-initialize the local timezone information.

To speed up conversion of epoch (UTC) time to local time, the timezone information is loaded only once, at program startup. Calling this routine re-reads the timezone information using current timezone settings.

The EpochToLocal function uses timezone information to transform epoch time to local time. This timezone information does not change while the application is running: in particular, on DST transitions or when the timezone files change, the time returned by local time routines will be wrong.

See also

Date

  

Return the current date.

Time

  

Returns the current time.

Now

  

Returns the current date and time.

EpochToLocal

  

Convert epoch time to local time.


Documentation generated on: Dec 26 2024