YEAR takes a date object or a function such as NOW and returns an integer representing the year on which it falls. Use the coerce-to-string function to convert the result to a string. The structure of the date response returned follows the ISO 8601 standard.
Function category: Date
Date object or a function that resolves to a date object.
Enter the following into the Formula editor to return the current year using the NOW function.
# Find the current dayYEAR(NOW())# This function returns2020# if this is the current year
# Find the current year and return a stringcoerce.to-string(YEAR(NOW()))# This function returns the string"2020"# if this is the current year