Npgsql Api Docs |

# NpgsqlInterval.Duration Method

This absolute value of this instance. In the case of some, but not all, components being negative, the rules used for justification are used to determine if the instance is positive or negative.

[Visual Basic]
Public Function Duration() As NpgsqlInterval
[C#]
public NpgsqlInterval Duration();

#### Return Value

An NpgsqlInterval whose value is the absolute value of this instance.

#### See Also

NpgsqlInterval Class | NpgsqlTypes Namespace