Npgsql Api Docs |

# NpgsqlInterval Implicit TimeSpan to NpgsqlInterval Conversion

Implicit cast of a TimeSpan to an NpgsqlInterval

[Visual Basic]
returnValue = NpgsqlInterval.op_Implicit(timespan)
[C#]
public static implicit operator NpgsqlInterval(
TimeSpan timespan
);

#### Parameters

timespan
  A TimeSpan

#### Return Value

An eqivalent, canonical, NpgsqlInterval.

#### See Also

NpgsqlInterval Class | NpgsqlTypes Namespace