breast milk how long does it stay fresh?

Amy
Where in hospital and I've just pumped as my nipples are so sore baby's being woken for IV in a hour and I no she'll be hungry straight after question is can you pump and leave breast milk out of the fridge for any length of time? As I have noaccess to a fridge right now. X