Returns the start year date of the given date
Optional
the date to inspect
the start year date of the given date
getStartOfYear(new Date(2023, 8, 30)); // Date(2023, 0, 1, 0, 0, 0) Copy
getStartOfYear(new Date(2023, 8, 30)); // Date(2023, 0, 1, 0, 0, 0)
Returns the start year date of the given date