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