JCL Help:FileTimeToSystemTime@TFileTime

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Converts a UTC based TFileTime to a TSystemTime.


Pascal

 function FileTimeToSystemTime(const FileTime: TFileTime): TSystemTime; overload;
procedure FileTimeToSystemTime(const FileTime: TFileTime; out ST: TSystemTime); overload;


Parameters

Parameters Description
const FileTime: TFileTime The UTC based TFileTime to convert.


Return Value

The TFileTime converted to TSystemTime


Description

FileTimeToSystemTime converts the supplied, UTC based TFileTime to a TSystemTime.


See Also

DosDateTimeToSystemTime SystemTimeToDosDateTime DosDateTimeToDateTime DateTimeToDosDateTime FileTimeToDateTime


About

Unit

JclDateTime


Donator

Michael Schnell


Notes

This function performs the same operation as the procedure FileTimeToSystemTime from Windows.pas. The overloaded procedure is identical to the procedure from Windows and provided for compatibility. Please keep in mind that this routine is also defined in Windows.pas and to succesfully use it you must ensure that either JclDateTime is listed after Windows in the uses clause or you prefix the call with the unit name (JclDateTime.FileTimeToSystemTime). Failure to do so may lead to a compiler error.


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