'Declaration Public Shared Function Compare( _ ByVal left As TdDate, _ ByVal right As TdDate _ ) As Integer
Parameters
- left
- An instance of TdDate.
- right
- An instance of TdDate.
Return Value
The result of the comparison is returned as an integer.
'Declaration Public Shared Function Compare( _ ByVal left As TdDate, _ ByVal right As TdDate _ ) As Integer
The integer returned when left is compared to right indicates the following:
Return Value | Meaning |
---|---|
Less than zero |
-or- left is TdDate.Null. |
Zero |
-or- |
Greater than zero |
-or- right is Null. |
Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2