JCL Help:DateTimeToDosDateTime

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Converts a TDateTime to a TDosDateTime.


Pascal

 function DateTimeToDosDateTime(const DateTime: TDateTime): TDosDateTime;


Parameters

Parameters Description
const DateTime: TDateTime The TDateTime to convert.


Return Value

The TDateTime converted to TDosDateTime.


Description

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


See Also

FileTimeToDateTime DosDateTimeToSystemTime SystemTimeToDosDateTime DosDateTimeToDateTime


About

Unit

JclDateTime


Donator

Michael Schnell


Notes

This function performs the same operation as DateTimeToFileDate from SysUtils.


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