When Does "ted" (2012) Take Place?
"ted" is a fantasy comedy film written by Seth MacFarlane with Alec Sulkin and Wellesley Wild that released July 5th, 2012. So when is "ted" set?
It takes place in the year:
We know this because John Bennett says several times that he and Laurie have been dating for 4 years ("It doesn't feel 4 years, does it?") and they are seen first meeting in the 2008 AD flashback.

2012 AD
We know this because John Bennett says several times that he and Laurie have been dating for 4 years ("It doesn't feel 4 years, does it?") and they are seen first meeting in the 2008 AD flashback.
2,008 + 4 = 2,012.
Additionally, there is a prologue that has an unnamed narrator who says, "It began in 1985, in a town just outside Boston." and immediately afterward, "It was Christmas Eve, and all the children were in high spirits." We see their Christmas morning and the hilarious day after Christmas aftermath when John's mother says, "It's a miracle. It's a Christmas miracle. You're just like the baby Jesus." So presumably the prologue covers December 24th, 1985 AD to December 26th, 1985 AD. During the main action, Ted mockingly says, "Oh, fuck that, it's been 4 years, Jonny. You and me have been together for 27 years! Where's my ring? Where's my ring, asshole!"
2,012 - 27 = 1,985.
Finally, there's a flashback to John and Laurie's first meeting, labeled with a subtitle reading "2008" so presumably this is in 2008 AD.

