Whole milk is a perishable food item and should not sit out of a refrigerator or cooler for longer than two hours. During warmer weather (90° F or hotter), whole milk should not sit out for more than an hour.
Ideally, milk should be stored in the coldest part of the refrigerator at or below 40° F to maximize flavor, extend shelf-life, and maintain food safety.