The texts in Matthew referring to Daniel were of significance to the Last Days and the freedom of Judah and of the Holy Land. They are important as follows.
Matthew 24:15 "So when you see the abomination of desolation spoken of by the prophet Daniel, standing in the holy place (let the reader understand),
Daniel 11:31 And forces will stand away from him, and they will profane the sanctuary, the fortress. And they shall remove the regular sacrifice, and they will place the abomination that desolates.
Daniel 12:11 And from the time the regular sacrifice shall be taken away, and the abomination that desolates set up, a thousand,... two hundred and ninety days shall occur.
What is the abomination of desolation and how does it progress?
The text in Matthew 25:15 refers to a point still in the future when Christ spoke. The Seventy weeks of years foretold by God through Daniel was as yet 40 years into the future for its completion. The forgery of Daniel 9:25 in the KJV fortunately did not exist and when the second Messiah of the text, James, brother of Christ, was killed at the end of the 69 weeks of years in 63/4 CE the church knew it had to flee to Pella, which it did under Simeon, son of Clophas. He was the cousin of Christ and the son of Maria sister of Christ’s mother Mariam.
At the end of the forty years for repentance, and Judah had not repented, in accordance with the prophecy of the Sign of Jonah on a year for a day basis, the Roman Army surrounded Jerusalem in 1 Abib 70 CE and sacked it after many months. The sacrifice was taken away by the actions of the Jews themselves in Jerusalem and not by the Romans. See the paper War with Rome and the Fall of the Temple (No. 298) and also the paper The Sign of Jonah and the History of the Reconstruction of the Temple (No. 013)
The prophet Daniel was given a vision of the Seventy Weeks of Years. The events of the last week of years were a disaster for Judah and for the Edomites. The prophecy can only be understood in relation to the Temple. Christians have generally mistranslated Daniel 9:25-27 for their own ends; the Jews also for their own ends in the apocryphal work of 1 Esdras.
The Greeks had placed an Asherah and a pagan deity in the temple and the Romans also then placed their standards there in 70 CE.
The text in Daniel 12:11 refers to the wars of the Last Days and the text in 12:13 refers to Daniel resting in death and standing in his lot in the KJV which is actually in death stand i. e. in the resurrection.
The text referring to the 2300 evenings and mornings also covers the desecration of the sanctuary. However it covers the period from the beginning to the retaking of Jerusalem under Judah. The “rightful state” means that it will be returned to Judah and the period of the restoration will then begin and will go over a period of the sixty years covering the periods of the Mourning for Aaron from 1967 to 1996/7 and the Thirty years of the Mourning for Moses from 1997 to 2027 at the Jubilee by when Messiah will have taken the entire areas and subjugated the nations and restored the Temple Mount to its position as the Holy Place.
Daniel 8:8- 14  Then the he-goat magnified himself exceedingly; but when he was strong, the great horn was broken, and instead of it there came up four conspicuous horns toward the four winds of heaven.  Out of one of them came forth a little horn, which grew exceedingly great toward the south, toward the east, and toward the glorious land.  It grew great, even to the host of heaven; and some of the host of the stars it cast down to the ground, and trampled upon them.  It magnified itself, even up to the Prince of the host; and the continual burnt offering was taken away from him, and the place of his sanctuary was overthrown.  And the host was given over to it together with the continual burnt offering through transgression; and truth was cast down to the ground, and the horn acted and prospered.  Then I heard a holy one speaking; and another holy one said to the one that spoke, "For how long is the vision concerning the continual burnt offering, the transgression that makes desolate, and the giving over of the sanctuary and host to be trampled under foot?"  And he said to him, "For two thousand and three hundred evenings and mornings; then the sanctuary shall be restored to its rightful state."
The text in Daniel 8:11-12 refers to the desolation by the Greeks under Antiochus IV Epiphanes (175-164 BCE) which inserted the first desolation referred to above. He referred to himself as Theos Epiphanes meaning “manifest God” or “God manifest.” This was the same significance of the Roman legion insignia under the cult of the Emperor worship.
In 167 BCE, Antiochus “sent an Athenian senator to force the Jews to abandon the customs of their ancestors and live no longer by the laws of God; also to profane the temple in Jerusalem and dedicate it to Olympian Zeus, and that on Mount Gerizim to Zeus the Hospitable, as the inhabitants of the place requested. They also brought into the temple things that were forbidden, so that the altar was covered with abominable offerings prohibited by the laws. A man could not keep the sabbath or celebrate the traditional feasts, nor even admit that he was a Jew. At the suggestion of the citizens of Ptolemais, a decree was issued ordering the neighbouring Greek cities to act in the same way against the Jews: oblige them to partake of the sacrifices, and put to death those who would not consent to adopt the customs of the Greeks. It was obvious, therefore, that disaster impended. Thus, two women who were arrested for having circumcised their children were publicly paraded about the city with their babies hanging at their breasts and then thrown down from the top of the city wall. Others, who had assembled in nearby caves to observe the sabbath in secret, were betrayed to Philip and all burned to death.”— 2 Maccabees 6:1–11
The Accra was built at the Temple location at this time by the Greeks. The timing here has nothing to do with the 2300 evenings and mornings of Daniel which referred to the Greek defeat of Persia from the Battle of the Granicus River and which ended in 1967 when Jerusalem was regained in the Six Day War.
If the time of 2300 years also relates to 167 BCE then it ends in 2132 CE and thus does not relate to the earlier events.
It was the result of the transgression of Judah in Dan. 8:11-12 and also in 11:31 under the Beast with legs of Iron and also under the Feet of Iron and Miry Clay of the Holy Roman Empire. These were the Trinitarians of the Sun system operating from Rome and through her harlot daughters of Protestantism. The sequence covered the entire period of the Greeks and Romans and the Holy Roman Empire and the periods of the Last Days from the Restoration of Jerusalem intact to the end of the period of the Mourning for Aaron in 1996/7 and the sequence of the mourning for Moses from 1997 to the Jubilee in 2027. Over this period Christ removes the abomination that makes desolate from the Temple precincts and subjugates the entire world.
Thus the final period occurs when the Beast takes over Jerusalem and occupies the Holy place. This forty two months covers the period from when the Beast arrives to when the Witnesses get here and take their place for 1260 days. Their period is 1335 days being 71 days before the Witnesses and 4 days afterwards. On the Fourth day the Messiah stands on the Mount of Olives and splits it in two and destroys this false religious system. Their religious system stems from the Calendar of the Sun Cults and the Witnesses will be enforcing God's Calendar from 1 Abib.
It is of note that there are 1335 years from the Hejirah and the death of the prophet and ascent of Islam under the Hadith to the regaining of Jerusalem in 1967 also. There is thus also a dual significance in this timing.
It is also of note that the Temple Mount was used as a rubbish dump and was a filthy mess under the Trinitarians. Omar ordered it cleaned up after the capture.
Another link in the hypothesis that the 1335 years was from the Hejirah (or Hijrah) to the recapture of Jerusalem in its entirety was the fact that in 1922 the League of Nations passed the British Palestinian Mandate which was 1290 years from the Hejirah.
Wikipedia records the British Mandate for Palestine, or simply the Mandate for Palestine, was a legal commission for the administration of the territory that had formerly constituted the Ottoman Empire sanjaks of Nablus, Acre, the southern portion of the Beirut Vilayet, and the Mutasarrifate of Jerusalem, prior to the Armistice of Mudros. The draft of the Mandate was formally confirmed by the Council of the League of Nations on 24 July 1922, supplemented via the 16 September 1922 Transjordan memorandum and then came into effect on 29 September 1923 following the ratification of the Treaty of Lausanne. The mandate ended at midnight on 14 May 1948.
The year 1948 was the war of Independence. Palestine was thus back in the hands of Judah with Edom and the other convert tribal groups but not completely. We saw 1967 consolidate Jerusalem. Every conflict consolidates the Holy Land in accordance with Bible prophecy.