Refrigerated breastmilk left out

Brittney

How long can refrigerated breastmilk he left out on the counter or in the diaper bag? Tips on traveling with LO and pumping are welcome! I bought the car adapter for my pump.