JCL Help:FileTimeToUnixTime

From Project JEDI Wiki
Jump to navigationJump to search


Summary

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


Pascal

 function FileTimeToUnixTime(const AValue: TFileTime): TJclUnixTime32;


Parameters

Parameters Description
FileTime The TFileTime to convert


Return Value

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


Description

FileTimeToUnixTime converts the supplied TFileTime to a Unix based TJclUnixTime32. 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 UnixTimeToFileTime 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