Last updated 1 year ago
Was this helpful?
The YEAR function extracts the year from an input date. The input date should be in MM/DD/YYYY format. Node references are also accepted as arguments.
year(date)
date - The date which is passed as input to the function.
Date
YEAR('3/21/2023')
Returns 2023.