UnixToDateTime function
Convert Unix epoch time to a
TDateTime value.
Declaration
function UnixToDateTime(const AValue: Int64; aReturnUTC: Boolean=True)
: TDateTimeArguments
AValue | Date to convert. |
aReturnUTC |
Function result
AValue as a
TDateTime value.Description
UnixToDateTime converts epoch time (seconds elapsed since 1/1/1970)
to a
TDateTime value.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
