Fields / Formula / function

Year

Extracts the year from a date or date/time value.

Syntax

Year(value, zone?)

Returns

Number or null.

Example

Year(ContractStartDate)

Notes and limitations

Takes a Date or a Date/Time only: turn text into one with Date(...). A time zone given last, like "America/New_York", is used for a Date/Time only: a plain Date has no clock, so the zone is ignored. The time zone is optional, as in Today.