Breastfeeding Rules!

If my baby doesn't finish his bottle but I left it out... how long can it be out until it is no good anymore?