JCL Help:DateTimeToFileTime

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Converts a TDateTime to a TFileTime.


Pascal

 function DateTimeToFileTime(DateTime: TDateTime): TFileTime;


Parameters

Parameters Description
DateTime: TDateTime The TDateTime to convert.


Return Value

The TDateTime converted to TFileTime.


Description

DateTimeToFileTime converts the supplied TDateTime to a TFileTime, ignoring whether the supplied DateTime is UNC based or local.


See Also

FileTimeToDateTime DosDateTimeToSystemTime SystemTimeToDosDateTime DosDateTimeToDateTime


About

Unit

JclDateTime


Donator

Michael Schnell


Notes

The JCL DateTime conversion functions supplement routines found in the Delphi RTL and the Win32 API. If a conversion function is not included here it most likely can be found in either of those libraries.


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