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



Teradata.Client.Provider Namespace > TdIntervalHourToMinute 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 TdIntervalHourToMinute
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 TdIntervalHourToMinute.Null.
Remarks

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

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

Requirements

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdIntervalHourToMinute Structure
TdIntervalHourToMinute Members