year

Returns the year from "date_expression".

Syntax

year ( date_expression )

Example

year ( 11 November 2005 )

Result

Returns 2005.