JCL Help:DateTimeToUnixTime
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: DateTimeToUnixTime Function
Search in JCL Help
Search in all projects
Summary
Converts a TDateTime value to a Unix based date/time value (TJclUnixTime32).
Pascal
function DateTimeToUnixTime(DateTime: TDateTime): TJclUnixTime32;
Parameters
Parameters | Description |
DateTime: TDateTime | The TDateTime value to convert. |
Return Value
The TDateTime value converted to TJclUnixTime32. On failure the function raises an exception.
Description
UnixTimeToDateTime converts the supplied TDateTime value to Unix based TJclUnixTime32. Unix based TJclUnixTime32 values are encoded as the number of seconds since midnight at the start of January 1st, 1970.
See Also
DosDateTimeToSystemTime SystemTimeToDosDateTime DosDateTimeToDateTime DateTimeToDosDateTime FileTimeToDateTime
About
Unit
Donator
Rik Barker
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page