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
public NullableDateTime Subtract(
   TimeSpan t


A System.TimeSpan

Return Value

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


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