AD was an era of time on Earth. (TNG: "The Big Goodbye", "The Royale", "Manhunt")
As late as the year 2079, it was still in effect. (TNG: "The Royale")