Npgsql Api Docs |

# NpgsqlInterval.FromMonths Method

Creates an NpgsqlInterval from a number of months.

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

#### Parameters

months

#### Return Value

A Canonicalized NpgsqlInterval with the given number of months.

#### See Also

NpgsqlInterval Class | NpgsqlTypes Namespace