JCL Help:DateTimeToLocalDateTime
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: DateTimeToLocalDateTime Function
Search in JCL Help
Search in all projects
Summary
Converts a UNC based TDateTime to a local TDateTime
Pascal
function DateTimeToLocalDateTime(DateTime: TDateTime): TDateTime;
Parameters
Parameters | Description |
DateTime: TDateTime | The UNC based TDateTime to convert to local time. |
Return Value
The local TDateTime. If the function fails it raises an EJclDateTimeError exception.
Description
DateTimeToLocalDateTime converts a UNC (coordinated universal time) based TDateTime to a local TDateTime. The function uses the settings for the time zone and daylight saving time.
About
Unit
Donator
Nick Hodges
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