CALENDAR_YEAR

Returns a number representing the calendar year of "date_expression".

Syntax

CALENDAR_YEAR ( date_expression )

Example

CALENDAR_YEAR ( '2012-02-29' )

Result

2012