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.
DateTimeOffset::Subtraction Operator
.NET Framework (current version)
Subtracts a specified DateTimeOffset or TimeSpan object from a DateTimeOffset object.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Subtraction(DateTimeOffset, DateTimeOffset) | Subtracts one DateTimeOffset object from another and yields a time interval. |
![]() ![]() | Subtraction(DateTimeOffset, TimeSpan) | Subtracts a specified time interval from a specified date and time, and yields a new date and time. |
Show:

