Npgsql Api Docs

NpgsqlDataReader.GetInterval Method 

Get the value of a column as a NpgsqlInterval. If the differences between NpgsqlInterval and Timespan in handling of days and months is not important to your application, use GetTimeSpan instead.

[Visual Basic]
Public Function GetInterval( _
   ByVal i As Integer _
) As NpgsqlInterval
[C#]
public NpgsqlInterval GetInterval(
   int i
);

Parameters

i
Index of the field to find.

Return Value

NpgsqlInterval value of the field.

See Also

NpgsqlDataReader Class | Npgsql Namespace