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



Teradata.Client.Provider Namespace > TdIntervalDayToHour Structure : Hours Property
The number of interval hours is returned. The return value ranges from -23 to 23.
Syntax
'Declaration
 
Public ReadOnly Property Hours As Integer
'Usage
 
Dim instance As TdIntervalDayToHour
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 TdIntervalDayToHour.Null.
Remarks

A TdIntervalDayToHour is represented as [-][days][space character][hh]. The minus sign is optional and represents a negative interval of time. The days component represents days. The space character (whitespace) separates the day from the hour. The hh component represents hours. The value of the Hours property is the hh component.

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

Requirements

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

See Also

Reference

TdIntervalDayToHour Structure
TdIntervalDayToHour Members