I don't know if this is really true or not, but I think milk will stay better longer depending on the amount left in the container. E.G. if there is about an inch left it might go bad faster than a full container. I can usually start to taste milk going bad around the expiration; however that is usually when I am getting near the end of it.
Brian