What kind of cooler do you have? If it's a Yeti, RTIC, or similar, you "should" last that long.
Make sure to keep it full, leave the melted water in it, keep it in the shade with ventilation if it's hot (not in the car), open as little and as quick as possible. If you are adding bottled water...