Send feedback on this topic.
Teradata.Client.Provider
Hours Property (TdIntervalHourToSecond)



Teradata.Client.Provider Namespace > TdIntervalHourToSecond Structure : Hours Property
The number of interval hours is returned. The return value ranges from -9999 to 9999.
Syntax
'Declaration
 
Public ReadOnly Property Hours As Integer
'Usage
 
Dim instance As TdIntervalHourToSecond
Dim value As Integer
 
value = instance.Hours
public int Hours {get;}
public:
property int Hours {
   int get();
}
Exceptions
ExceptionDescription
This property is not available when this instance is TdIntervalHourToSecond.Null.
Remarks

A TdIntervalHourToSecond is represented as [-][hours]:mm:ss.ffffff. The minus sign is optional and represents a negative interval of time. The hours component represents hours, the mm component minutes, the ss seconds and the ffffff fractional seconds. The value of the Hours property is the hours component.

A negative interval will return all properties (hours, minutes, seconds and fractional seconds) as negative values.

Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdIntervalHourToSecond Structure
TdIntervalHourToSecond Members