Skip to content

DTToUnixDate

Convert a DateTime to Unix timestamp

Declaration

Source position: dos.pp line 52

  function DTToUnixDate(DT: DateTime) : LongInt;

Description

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

Errors

None.

See also

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