YEAR

Get the year from a date.

Parameter List

Syntax
YEAR(date)
date

The date to return the year from. For example: "2019-06-29".

Examples

YEAR("2018-11-22") returns 2018
🍪

We use cookies to enhance your user experience and analyze website performance. You can revoke consent anytime. Learn more.