UnixToDateTime

Convert Unix epoch time to a TDateTime value

Declaration

Source position: dateutil.inc line 413

  function UnixToDateTime(const AValue: Int64; aReturnUTC: Boolean)
                          : TDateTime;

Description

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

See also

Name Description
DateTimeToUnix Convert a TDateTime value to Unix epoch time