The whole point of pasteurizing milk is to kill bacteria that make milk go bad faster.
Raw milk is only supposed to last max 10 days or so. Make sure there is no bacteria in the fridge that can go in the milk and ask your grocery store when it was milked.