Send feedback on this topic.
Teradata.Client.Provider
Hour Property (TdTimestamp)



Teradata.Client.Provider Namespace > TdTimestamp Structure : Hour Property
The hour of the time component in this instance of TdTimestamp is returned.
Syntax
'Declaration
 
Public ReadOnly Property Hour As Integer
'Usage
 
Dim instance As TdTimestamp
Dim value As Integer
 
value = instance.Hour
public int Hour {get;}
public:
property int Hour {
   int get();
}

Property Value

The hour component is returned as an Int32. The range will be 0 to 23.
Exceptions
ExceptionDescription
This instance is TdTimestamp.Null.
Remarks
The value that is returned represents the hour of the time component. TdTimestamp does not take into account the day light savings time. What has been entered as the hour of the time component, is returned from the property.
Requirements

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

See Also

Reference

TdTimestamp Structure
TdTimestamp Members