UnixDateToDt

Convert a Unix timestamp to a DateTime record

Declaration

Source position: dos.pp line 51

  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

Name Description
DTToUnixDate Convert a DateTime to Unix timestamp
GetTime Return the current time
PackTime Pack DateTime value to a packed-time format.
SetTime Set system time
UnpackTime Unpack packed file time to a DateTime value

results matching ""

    No results matching ""