http://www.earlyjewishwritings.com/daniel.html
Take the holy blinders off and learn something.
Quote:"Daniel is one of the few OT books that can be given a fairly firm date. In the form in which we have it (perhaps without the additions of 12:11, 12), the book must have been given its final form some time in the years 167-164 B.C. This dating is based upon two assumptions: first, that the authors lived at the later end of the historical surveys that characterize Daniel 7-12; and second, that prophecy is accurate only when it is given after the fact, whereas predictions about the future tend to run astray. Based upon these assumptions, the references to the desecration of the Temple and the 'abomination that makes desolate' in 8:9-12; 9:27; and 11:31 must refer to events known to the author. The best candidates for the historical referents of these events are the desecration of the Temple in Jerusalem and the erection in it of a pagan altar in the autumn of 167 B.C. by Antiochus IV Epiphanes. The inaccurate description of the end of Antiochus' reign and his death in 11:40-45, on the other hand, suggests that the author did not know of those events, which occurred late in 164 or early in 163 B.C.
Take the holy blinders off and learn something.