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



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

Property Value

The year specified in the date.
Exceptions
ExceptionDescription
This instance is TdTimestamp.Null.
Remarks

The value that is returned represents the year of the date component.

No consideration is given to daylight savings time.

Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdTimestamp Structure
TdTimestamp Members