DateTimeOffset.Subtraction Operator
.NET Framework 4.5
Subtracts a specified DateTimeOffset or TimeSpan object from a DateTimeOffset object.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| 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. |