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

UnixToDateTime

Convert Unix epoch time to a TDateTime value

Declaration

Source position: dateutil.inc line 400

function UnixToDateTime(

  const AValue: Int64

):TDateTime;

Arguments

AValue

  

Date to convert.

Function result

AValue as a TDateTime value.

Description

UnixToDateTime converts epoch time (time elapsed since 1/1/1970) to a TDateTime value.

See also

DateTimeToUnix

  

Convert a TDateTime value to Unix epoch time

The latest version of this document can be found at lazarus-ccr.sourceforge.net.