YEAR (Date) YEAR (Date)

Date

Temporal Temporal

The date to be converted.

Returns

Number Number

The year of the date.

Returns the year of a given date. See also MONTH and DAY for extracting other components of a date, and DATE for constructing a date from its components.

Example

YEAR ( DATE (2033, 1, 1))
YEAR ( DATE (2033; 1; 1))

Returns 2033, the year of the given date, January 1, 2033.

fxEngine Shell Want this in your own terminal? A standalone version is coming. Get notified.
Loading fxEngine Shell