DateTime.Subtract Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Subtracts the specified time or duration from this instance.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSubtract(DateTime)

Subtracts the specified date and time from this instance.

System_CAPS_pubmethodSubtract(TimeSpan)

Subtracts the specified duration from this instance.

Return to top
Show: