dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlInterval Structure / Hours Property

In This Topic
Hours Property
In This Topic
Gets number of hours stored in PgSqlInterval object.
Syntax
'Declaration
 
Public ReadOnly Property Hours As Integer
 

Property Value

Hours component of a PgSqlInterval object.
Remarks
The real number of seconds stored on server is contained in TotalSeconds property. Its constituent parts are Days, Hours, Minutes, Seconds, and Milliseconds. When a value is assigned to PgSqlInterval object, it is automatically parsed and appropriate properties are filled with right values.
See Also