[Overview][Constants][Procedures and functions][Index] |
Convert a TDateTime value to Unix epoch time
Source position: dateutil.inc line 412
function DateTimeToUnix( |
const AValue: TDateTime; |
AInputIsUTC: Boolean = True |
):Int64; |
AValue |
|
TDateTime value to convert |
Unix epoch time corresponding to AValue
DateTimeToUnix converts a TDateTime value to a epoch time (i.e. the number of seconds elapsed since 1/1/1970).
|
Convert Unix epoch time to a TDateTime value |