DateTime Operators
Namespace:
System
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Addition(DateTime, TimeSpan) | Adds a specified time interval to a specified date and time, yielding a new date and time. |
![]() ![]() | Equality(DateTime, DateTime) | Determines whether two specified instances of DateTime are equal. |
![]() ![]() | GreaterThan(DateTime, DateTime) | |
![]() ![]() | GreaterThanOrEqual(DateTime, DateTime) | |
![]() ![]() | Inequality(DateTime, DateTime) | Determines whether two specified instances of DateTime are not equal. |
![]() ![]() | LessThan(DateTime, DateTime) | |
![]() ![]() | LessThanOrEqual(DateTime, DateTime) | |
![]() ![]() | Subtraction(DateTime, DateTime) | Subtracts a specified date and time from another specified date and time and returns a time interval. |
![]() ![]() | Subtraction(DateTime, TimeSpan) | Subtracts a specified time interval from a specified date and time and returns a new date and time. |
Show:

