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:

