JCL Help:FATDatesEqual@Int64@Int64

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Test if the dates are equal within the granularity of the FAT file system (2 seconds)


Pascal

 function FATDatesEqual(const FileTime1: Int64; const FileTime2: Int64): Boolean; overload;
function FATDatesEqual(const FileTime1: TFileTime; const FileTime2: TFileTime): Boolean; overload;


Parameters

Parameters Description
const FileTime1: Int64 Time to compare
const FileTime2: Int64 Time to compare


Return Value

True if dates differ less than the granularity of the FAT file system (2 seconds).


Description

Test if the dates are equal within the granularity of the FAT file system (2 seconds)


About

Unit

JclDateTime


Donator

Michael Schnell


Notes

A TFiletime can be seen as an Int64 or as a record of two Integers. Use DateTimeToFileTime if one argument is a TDatetime.


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