JCL Help:LocalDateTimeToFileTime
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: LocalDateTimeToFileTime Function
Search in JCL Help
Search in all projects
Summary
Converts a local TDateTime to a UNC based TFileTime
Pascal
function LocalDateTimeToFileTime(DateTime: TDateTime): FileTime;
Parameters
Parameters | Description |
DateTime: TDateTime | The local TDateTime to convert to UNC based file time. |
Return Value
The UNC based TFileTime. If the function fails it raises an EJclDateTimeError exception.
Description
LocalDateTimeToFileTime converts a local TDateTime to a UNC (coordinated universal time) based TFileTime. The function uses the settings for the time zone and daylight saving time.
About
Unit
Donator
Michael Schnell
Notes
The specified DateTime is assumed to be valid (with JCLDate negative years and dates > year 9999 are valid).
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