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);

DateUtils

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. 

 

DateTimeToUnix 

Convert

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!