Click or drag to resize

MvDateTimeCompareTo Method (MvDateTime)

Compares the current instance to another one.

Namespace:  RW.Server.Component
Assembly:  RW.Server.Component (in RW.Server.Component.dll) Version: 7.2.0.0 (7.2.0.0)
Syntax
public virtual int CompareTo(
	MvDateTime date
)

Parameters

date
Type: RW.Server.ComponentMvDateTime
The other date/time to be compared.

Return Value

Type: Int32
0 if the two dates are equal, less than 0 if the argument is later than this date, and a value greater than 0 otherwise.
Exceptions
ExceptionCondition
InvalidOperationException If the current instance is invalid or the argument is null.
See Also