The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
DateTime::Subtraction Operator
.NET Framework (current version)
Namespace:
System
Assembly: mscorlib (in mscorlib.dll)
Return to top
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | 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:

