year

Returns the year portion of "date_expression". Same as extract (year from date_expression).

Syntax

year ( date_expression )