The year() function determines the year in the specified date.
You can also determine the year value by using the IBM® Netezza® date_part() function.
int2 = year(date input);
The input value specifies the date.
select year('1996-2-29');
YEAR
------
1996
(1 row)
This example returns 1996.