Npgsql Api Docs |

# NpgsqlInterval.FromSeconds Method

Creates an NpgsqlInterval from a number of seconds.

[Visual Basic]
Public Shared Function FromSeconds( _
ByVal seconds As Double _
) As NpgsqlInterval
[C#]
public static NpgsqlInterval FromSeconds(
double seconds
);

#### Parameters

seconds

#### Return Value

A Canonicalized NpgsqlInterval with the given number of seconds.

#### See Also

NpgsqlInterval Class | NpgsqlTypes Namespace