This documentation is archived and is not being maintained.
DateTime Operators
Visual Studio 2008
The DateTime type exposes the following members.
| Name | Description | |
|---|---|---|
|
Addition | Adds a specified time interval to a specified date and time, yielding a new date and time. |
|
Equality | Determines whether two specified instances of DateTime are equal. |
|
GreaterThan | Determines whether one specified DateTime is greater than another specified DateTime. |
|
GreaterThanOrEqual | Determines whether one specified DateTime is greater than or equal to another specified DateTime. |
|
Inequality | Determines whether two specified instances of DateTime are not equal. |
|
LessThan | Determines whether one specified DateTime is less than another specified DateTime. |
|
LessThanOrEqual | Determines whether one specified DateTime is less than or equal to another specified DateTime. |
|
Subtraction | Overloaded. Subtracts a specified DateTime or TimeSpan from a specified DateTime. |
Show: