Hitokage said:
Obviously it depends on the food, and you may be more right for more foods than I am, but it certainly isn't 24 hours.
Of course not, and I would never recommend someone to put the six hour thing to the test. That's just the absolute limit for holding hot food. There is ready to eat food, of course, that can be stored at room temperature like jerky, potato chips, cereals etc. as long as it's kept dry.