Npgsql Api Docs |

# NpgsqlInterval.Subtract Method

Subtracts another interval from this instance and returns the result.

[Visual Basic]
Public Function Subtract( _
ByVal interval As NpgsqlInterval _
) As NpgsqlInterval
[C#]
public NpgsqlInterval Subtract(
NpgsqlInterval interval
);

#### Parameters

interval
  An NpgsqlInterval to subtract from this instance.

#### Return Value

An NpgsqlInterval whose values are the differences of the two instances.

#### See Also

NpgsqlInterval Class | NpgsqlTypes Namespace