Pumping Q!

Can I freeze the breast milk that I have had in the refrigerator for a few hours? If so, Will it still last 6 months in the freezer?