JCL Help:UnixTimeToDateTime
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: UnixTimeToDateTime Function
Search in JCL Help
Search in all projects
Summary
Converts a Unix based date/time value (TJclUnixTime32) to a TDateTime value.
Pascal
function UnixTimeToDateTime(const UnixTime: TJclUnixTime32): TDateTime;
Parameters
Parameters | Description |
const UnixTime: TJclUnixTime32 | The Unix based TJclUnixTime32 to convert. |
Return Value
The TJclUnixTime32 converted to TDateTime. On failure the function raises an exception.
Description
UnixTimeToDateTime converts the supplied, Unix based TJclUnixTime32 to a TDateTime value. 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