CorDateTime: CompareTo

CompareTo

Compares this instance to a passed in Date or CorDateTime instance.



 Public Function CompareTo(
	  ByRef Value As Variant ) As Long

Parameters

Value
[ByRef] Variant. The Date or CorDateTime value to compare against this instance.

Return Values

Long -  A value indicating the relation to the passed in value. Negative indicates this instance is less than the argument, zero indicates the two values are equal, and positive indicates this value is greater than the argument.

See Also

Project CorLib Overview

Class CorDateTime Overview