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

UnixDateToDt (platform)

Convert a Unix timestamp to a DateTime record.

Declaration

Source position: dos.pp line 69

procedure UnixDateToDt(

  SecsPast: LongInt;

  var Dt: DateTime

);

Description

DTToUnixDate converts the Unix timestamp value in SecsPast to a DateTime representation in DT. It is an internal function, implemented on Unix platforms, and should not be used.

Errors

None.

See also

DTToUnixDate

  

Convert a DateTime to Unix timestamp.

PackTime

  

Pack DateTime value to a packed-time format.

UnpackTime

  

Unpack packed file time to a DateTime value.

GetTime

  

Return the current time.

SetTime

  

Set system time.


Documentation generated on: Dec 04 2024