UnixToDateTime converts a Unix/Linux-style date-and-time value to a TDateTime value.
Unix/Linux date-and-time values are encoded as the number of seconds since midnight at the start of January 1, 1970.
Declaration: function UnixToDateTime(const AValue: Int64; AReturnUTC: Boolean): TDateTime;
A sample of code.