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



Teradata.Client.Provider Namespace > TdDate Structure : Year Property
The Year of the date contained in this instance of TdDate is returned.
Syntax
'Declaration
 
Public ReadOnly Property Year As Integer
'Usage
 
Dim instance As TdDate
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 TdDate.Null.
Requirements
ProductVersionsPlatforms
.NET6, 7Windows, Linux, MacOS
.NET Framework4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdDate Structure
TdDate Members