CompareTo

<< Click to Display Table of Contents >>

Navigation:  EasyDotNet documentation > Classes > TSystemDateTime class > Methods >

CompareTo

Previous pageReturn to chapter overviewNext page

Compares the value of this instance to a specified SystemDateTime value and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified SystemDateTime value.

 

value - The object to compare to the current instance.

 

Returns:

A signed number indicating the relative values of this instance and the value parameter.

Less than zero: This instance is earlier than value.

Zero: This instance is the same as value.

Greater than zero: This instance is later than value.

 

CompareTo                       PROCEDURE(TSystemDateTime value), LONG