For the complete documentation index, see llms.txt. This page is also available as Markdown.

YEAR

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.

Syntax

year(date)

Arguments

date - The date which is passed as input to the function.

Return value

Date

Example

YEAR('3/21/2023')

Returns 2023.

Year function

Last updated

Was this helpful?