The YEAR function extracts the year from a date. This function is commonly used to group, filter, and analyze data by year.
YEAR(date)
date: The input date.
date
Returns the year as a number.
YEAR("03/21/2026")
Returns 2026.
2026
Last updated 1 month ago
Was this helpful?