Export (0) Print
Expand All

DateTimeOffset.Subtraction Operator

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.

  NameDescription
Public operator Static member Subtraction(DateTimeOffset, DateTimeOffset) Subtracts one DateTimeOffset object from another and yields a time interval.
Public operator Static member Subtraction(DateTimeOffset, TimeSpan) Subtracts a specified time interval from a specified date and time, and yields a new date and time.
Top

Community Additions

ADD
Show:
© 2014 Microsoft