Returns the start day date of the given date
Optional
the date to inspect
the start day date of the given date
getStartOfDay(new Date(2023, 8, 30, 12, 12, 12)); // Date(2023, 8, 30, 0, 0, 0) Copy
getStartOfDay(new Date(2023, 8, 30, 12, 12, 12)); // Date(2023, 8, 30, 0, 0, 0)
Returns the start day date of the given date