Npgsql Api Docs

NpgsqlTimeTZ.Hours Property

Gets the number of whole hours held in the instance. Note that the time 24:00:00 can be stored for roundtrip compatibility. Any calculations on such a value will normalised it to 00:00:00.

[Visual Basic]
Public ReadOnly Property Hours As Integer
[C#]
public int Hours {get;}

See Also

NpgsqlTimeTZ Class | NpgsqlTypes Namespace