Npgsql Api Docs |

# NpgsqlInterval.FromTicks Method

Creates an NpgsqlInterval from a number of ticks.

[Visual Basic]
Public Shared Function FromTicks( _
ByVal ticks As Long _
) As NpgsqlInterval
[C#]
public static NpgsqlInterval FromTicks(
long ticks
);

#### Parameters

ticks
  The number of ticks (100ns units) in the interval.

#### Return Value

A Canonicalized NpgsqlInterval with the given number of ticks.

#### See Also

NpgsqlInterval Class | NpgsqlTypes Namespace