RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.UnixToDateTime Function

Converts a Unix/Linux style date-and-time value to a TDateTime value.

Pascal
function UnixToDateTime(const AValue: Int64): TDateTime;
C++
TDateTime UnixToDateTime(const Int64 AValue);

Call UnixToDateTime to convert the Unix/Linux encoding of a date and time value into the corresponding TDateTime

Unix date-and-time values are encoded as the number of seconds since midnight at the start of January 1, 1970. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!