Resources
Notes & updates from the team
Demos, tutorials & stories
How-tos & best practices
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
Returns the year as a number.
YEAR("03/21/2026")
Returns 2026.
2026