Home > Expression Operators > Date Operators > #YEAR

#YEAR

Extracts the year (4 digits) from a date.

Syntax:

#YEAR date

Examples:

#YEAR 5/14/1965 equals 1965

#YEAR 1/1/2008 equals 2008

Related Operators:

#DAY

#MONTH