Can simplify this to `startDate.setHours(0, 0, 0, 0);`