year()
The year()
function returns the current year as a number (2018
, 2019
etc).
Type: function
Returns:
-
{Number}:
The current year.
The year()
function returns the current year as a number (2018
, 2019
etc).
Type: function
Returns:
The current year.