From Live Science:
2012 is coming very soon. The movie, that is — the disaster film directed by Roland Emmerich depicting global catastrophe of Biblical proportions. The year itself is of course a few dozen months away, and there is growing interest, excitement, and concern for both events.
The film "2012," which opens Nov. 13, takes place, rather obviously, in the year 2012, though it could have been set in 1995 or 2013. The movie's disasters have no particular link to that year, it's just when the Earth happens to start burping earthquakes and farting fire. 2012 made a perfect promotional hook for the film, because the ancient Mayans predicted that the world would end that year, if not specifically on December 21, 2012.