JCL Help:CompareTimeStamps

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Compares two time stamps.


Pascal

 function CompareTimeStamps(const Stamp1: TTimeStamp; const Stamp2: TTimeStamp): Int64;


Parameters

Parameters Description
const Stamp1: TTimeStamp First time stamp to compare.
const Stamp2: TTimeStamp Second time stamp to compare.


Description

CompareTimeStamps compares two timestamps and returns the result of the comparison:

Value Meaning
< 0 Stamp1 is earlier than Stamp2.
0 Stamp1 and Stamp2 are equal.
> 0 Stamp1 is later than Stamp2.


See Also

EqualTimeStamps IsNullTimeStamp


About

Unit

JclDateTime


Donator

Marcel Bestebroer


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