CorDateTimeStatic: Equals

Equals

Returns a value indicating whether two Date or CorDateTime instances have the same date and time value.



 Public Function Equals(
	  ByRef t1 As Variant,
	  ByRef t2 As Variant ) As Boolean

Parameters

t1
[ByRef] Variant. The first Date or CorDateTime to compare.
t2
[ByRef] Variant. The second Date or CorDateTime to compare.

Return Values

Boolean -  true if their values are equal; otherwise, false

Remarks

t1 and t2 are equal if their TotalMilliseconds property values are equal. Their Kind property values are not considered in the test for equality.

See Also

Project CorLib Overview

Class CorDateTimeStatic Overview