Export (0) Print
Expand All

DateTime.Subtraction Operator

Subtracts a specified DateTime or TimeSpan from a specified DateTime.

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 Supported by the .NET Compact Framework Supported by the XNA Framework Subtraction(DateTime, DateTime) Subtracts a specified date and time from another specified date and time and returns a time interval.
Public operator Static member Supported by the .NET Compact Framework Supported by the XNA Framework Subtraction(DateTime, TimeSpan) Subtracts a specified time interval from a specified date and time and returns a new date and time.
Top

Community Additions

ADD
Show:
© 2014 Microsoft