Click or drag to resize

MvDateTimeCompareTo Method (DateTime)

Compares the current instance to the specified DateTime object.

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(
	DateTime dateTime
)

Parameters

dateTime
Type: SystemDateTime
The Date 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