Your Airkit journey starts here

YEAR

Returns the 4-digit year.

Declaration

YEAR(datetime) -> year
YEAR(date) -> year

Parameters

datetime
datetime -A datetime value to retrieve the year for.
date
date -A date value to retrieve the year for.

Return Values

year
number -The 4-digit year.