NullableTypes Class Library

NullableDateTime.Subtract Method 

Subtracts a specified time interval to this structure.

[Visual Basic]
Public Function Subtract( _
   ByVal t As TimeSpan _
) As NullableDateTime
[C#]
public NullableDateTime Subtract(
   TimeSpan t
);

Parameters

t
A System.TimeSpan

Return Value

A NullableDateTime that is the difference of this structure and t.

Remarks

This method does not change the value of this NullableDateTime. Instead, a new NullableDateTime is returned whose value is the result of this operation.

See Also

NullableDateTime Class | NullableTypes Namespace