Returns the year as a number between 0 and 9999.
If not the current year is wanted, pass a date object to get the year from.
to use UTC time, use
getYear.UTC()
Generated using TypeDoc
Returns the year as a number between 0 and 9999.