DB2DateTime.Year property

Gets the year value that is stored in the DB2DateTime instance.

The DB2DateTime.Year property is available for use only with the Informix® database server.

Namespace:
IBM.Data.DB2Types
Assembly:
IBM.Data.DB2 (in IBM.Data.DB2.dll)

Syntax


[Visual Basic]
Public ReadOnly Property Year As Int32
[C#]
public Int32 Year {get;}
[C++]
public: __property Int32 get_Year();
[JScript]
public function get Year() : Int32;

Property value

A year value of the DB2DateTime instance.