JCL Help:UnixTimeToFileTime

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Converts a Unix based date/time (TJclUnixTime32) to a UTC based TFileTime.


Pascal

 function UnixTimeToFileTime(const AValue: TJclUnixTime32): TFileTime;


Parameters

Parameters Description
UnixTime The Unix based TJclUnixTime32 to convert.


Return Value

The TJclUnixTime32 converted to TFileTime. On failure the function raises an exception.


Description

UnixTimeToFileTime converts the supplied, Unix based TJclUnixTime32 to a TFileTime value. Unix based TJclUnixTime32 values are encoded as the number of seconds since midnight at the start of January 1st, 1970.


See Also

DosDateTimeToSystemTime SystemTimeToDosDateTime DosDateTimeToDateTime DateTimeToDosDateTime FileTimeToDateTime UnixTimeToDateTime


About

Unit

JclDateTime


Donator

Anonymous


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