This documentation is archived and is not being maintained.

DateTime.CompareTo Method

Compares this instance to a specified object or value type and returns an indication of their relative values.

Name Description
DateTime.CompareTo (DateTime) Compares this instance to a specified DateTime object and returns an indication of their relative values.

Supported by the .NET Compact Framework.

DateTime.CompareTo (Object) Compares this instance to a specified object and returns an indication of their relative values.

Supported by the .NET Compact Framework.

Show: