Returns the current year as a number.
The current year as a number.
This function uses the getUTCFullYear method of the Date object to get the current year.
getUTCFullYear
Date
getCurrentYear();;//=> 2022 Copy
getCurrentYear();;//=> 2022
Generated using TypeDoc
Returns the current year as a number.