startOfHour function #6