This documentation is archived and is not being maintained.

DateTimeOffset.Subtract Method

Subtracts a specified time or duration from the current DateTimeOffset object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Subtract(DateTimeOffset) Subtracts a DateTimeOffset value that represents a specific date and time from the current DateTimeOffset object.
Public method Subtract(TimeSpan) Subtracts a specified time interval from the current DateTimeOffset object.
Top
Show: