The properties of the NpgsqlTime structure are listed below. For a complete list of NpgsqlTime structure members, see the NpgsqlTime Members topic.
![]() | Gets the number of whole hours held in the instance. |
![]() | Gets the number of whole microseconds held in the instance. |
![]() | Gets the number of whole milliseconds held in the instance. |
![]() | Gets the number of whole minutes held in the instance. |
![]() | Gets the number of whole seconds held in the instance. |
![]() | The total number of ticks(100ns units) contained. This is the resolution of the NpgsqlTime type.
As such, if the 100-nanosecond resolution is significant to an application, a PostgreSQL time will not suffice for those purposes. In more frequent cases though, the resolution of time suffices. NpgsqlTime will always suffice to handle the resolution of any time value, and upon writing to the database, will be rounded to the resolution used. |
NpgsqlTime Class | NpgsqlTypes Namespace