The numbers are reversed in how we think of them, each number represents an event. We understand the 1260 is the Little Horn/AC/Beast. However, the 1260 is in the middle of the week, so we all missed it for 2000 years reread Dan. 12:6-7 and in brief, it says this the Angel asks a preincarnate Jesus (Man in Linen) "HOW LONG WILL IT BE UNTIL ALL THESE WONDERS (Dan. 11:36-45 and even Dan. 12:1-2) END?" And what is it that ends the Anti-Christs rule of terror? Jesus' showing up at the 2nd coming who will kill him WITHOUT HANDS or by the words of his mouth. So, the number is really not the 1260 as we think, in the middle (it is just in reverse) from the start of the 70th week, but its a measurement from the start of the Beasts rule over Israel, the Conquering of the Holy Peoples, until the 2nd coming ends his rule over Israel. Now, Daniel had no clue per se about Jesus when he wrote this, he just knew the east would be defeated after a Times, Time and Half [time].
This is why people can not grasp the 1290 and 1335, they fail to understand these are two numbered event that also end with the 2nd coming. Dan. 12:8 is Daniel asking the exact sane question, almost, "When will all THESE THINGS END?" so its all about Jesus 2nd coming ending each numbered event. With the 1260, people eventually figured out that was about the Little Horn of Dan. 7 & 8. So, who are the 1290 and 1335? Well, if (and it is) the 1290 is 1290 days away from the 2nd coming and the Beast only starts ruling in Israel 30 days later at the 1260, then he can have no physical part in the 1290 can he? But since he has an Agreement (Covenant)n with Israel staring the 70th week of 7 years, this means the AoD must be put forth by a political faction in Israel, under pressure from this AC/Beast. but its not him standing in the temple, Matt. 24:15 seems to say its a IMAGE that sands where t ought not stand, Rev. 13 seems to say the 2nd Beast (False Prophet) makes an IMAGE with the people and places it in the temple of God. Now, once we get over our bad teachings of this having to be the AC, we can grasp it in full.
A False Prophet (Jewish High Priest like unto Jason under Antiochus) will do the AC/Beasts bidding from afar, and Dan. 9:27 actually says HE CAUSES these things to happen go read it. Here is the gist of it all, Israel never signs a "Peace Treaty" per se with the AC, people think wrongly here, they simply will join the European Union (that is THE AGREEMENT/Covenant) and so he will be Israel' "President so to speak" and will thus of course have political sway with Israeli leaders and with this Religious High Priest False Prophet who will be orthodox and thus will hate Jesus, especially Jews who repent and come to Christ Jesus, which leads us to who/what the 1335 are/is (later on). Once Israel repent at the 1335, which is 45 days before the 1290 ad 75 days before the 1260, this orthodox Jewish High Priest will be angry that 1/3 of the Jews or 5 Million Jews turned to Jesus AND of course started worshipping Jesus in the temple, and singing to Jesus glorifying his name. So, per an EDICT with the encouragement of the AC/Beast/E.U. President, he will say there is to be NO Jesus Worshipping in the Temple (maybe in all Israel) and that is what is meant by he "TAKES AWAY THE [real] SACRIFICE" its not some profane meat sacrifice, its Jesus Worship that is stopped. And then he of course commits the AoD, he will make an IMAGE of this man, the E.U. President and place it up inside the Holy Temple of God, this defiles the temple, BUT HOW? God rent the temple 2000 years ago, it was unclean, how did this new one get cleansed? 5 Million Jews/Israelis repented and thus God came back into the Temple.
So, who are the 1335? Well, its the 2 Witnesses, they show up BEFORE the DOTL as Malachi 4:5-6 says, and as Zech. 13:8-9 and 14:1 shows, the 1/3 repent in ch. 13 and then in the very next verse the DOTL arrives in ch. 14. (SMILE, Amen). Elijah and (IMHO) Moses show up and get Israel to repent 1335 days before the 2nd coming ENDS ALL THESE WONDERS/THINGS. This angers the Jewish High Priest/FP and he thus forbids Jesus Worship and places the AoD, this gives the Jews who repented 30 days to flee Judea !! So, the 2 Wit. show up before the AC becomes the Beast at the 1260, and this means their 1260 days MUST END before the Beasts rule ends at his 1260 days right? Of course, its simple math. The 2 Wit. die at the 2nd Woe, before the Beast dies at the 7th Vial (end of the 3rd Woe)