Windows apps
Collapse the table of content
Expand the table of content
Information
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.

DateTime.Subtract Method

Subtracts the specified time or duration from this instance.

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 Supported by the .NET Compact Framework Supported by the XNA Framework Subtract(DateTime) Subtracts the specified date and time from this instance.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Subtract(TimeSpan) Subtracts the specified duration from this instance.
Top

Community Additions

Show:
© 2017 Microsoft