How long does formula last in the fridge??

ferisity

Can I make bottles of formula ahead of time and store them in the fridge? If so, for how long will they be good and should they be in storage bags or is it okay if I keep them in bottles??