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

UnixDateToDt (platform)

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

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: Sep 28 2017