JCL Help:SystemTimeToDosDateTime

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Converts a TSystemTime to a TDosDateTime.


Pascal

 function SystemTimeToDosDateTime(const SystemTime: TSystemTime): TDosDateTime;


Parameters

Parameters Description
const SystemTime: TSystemTime The TSystemTime to convert.


Return Value

The TSystemTime converted to TDosDateTime. On failure the function raises an exception.


Description

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


See Also

FileTimeToDateTime DosDateTimeToSystemTime DosDateTimeToDateTime DateTimeToDosDateTime


About

Unit

JclDateTime


Donator

Petr Vones


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