Mono Class Library: System.DateTime Overview | Members

System.DateTime.Subtract Method

Subtracts a specified date and time from the current instance. [Edit]

public TimeSpan Subtract (DateTime value)

Parameters

value
An instance of DateTime. [Edit]

Returns

A TimeSpan interval equal to the date and time represented by the current instance minus the date and time represented by the specified DateTime. [Edit]

Remarks

Documentation for this section has not yet been entered. [Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0