It is due to UHT processing, i.e. ultra high temperature pasturization.
http://www.scientificamerican.com/article/experts-organic-milk-lasts-longer/
I think that SA article is wrong. I believe regular pasteurized milk in the supermarket is marked with a ‘sell by’, not an expiration, date—and it’s good for up to 10 days after the sell-by date.
I assume because there’s no fat in it.