NpgsqlInterval Constructor (Int32, Int32, Int32, Int32, Int32, Int32, Int32)
Initializes a new
NpgsqlInterval to the specified number of years, months, days, hours, minutes, seconds & milliseconds.
Years are calculated exactly equivalent to 12 months.
[C#]public NpgsqlInterval(
int years,
int months,
int days,
int hours,
int minutes,
int seconds,
int milliseconds);
Parameters
- years
- Number of years.
- months
- Number of months.
- days
- Number of days.
- hours
- Number of hours.
- minutes
- Number of minutes.
- seconds
- Number of seconds.
- milliseconds
- Number of milliseconds.
See Also
NpgsqlInterval Class | NpgsqlTypes Namespace | NpgsqlInterval Constructor Overload List