OracleTimeSpan.Hours Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the number of whole hours represented by this instance.

Namespace:   System.Data.OracleClient
Assembly:  System.Data.OracleClient (in System.Data.OracleClient.dll)

public int Hours { get; }

Property Value

Type: System.Int32

The hour component of this instance between 0 and 23.

.NET Framework
Available since 1.1
Return to top