The Antichrist will sign a treaty with Israel for 7 years shortly after the war of Gog & Magog, and the moment of the signing marks the beginning of the seven year Tribulation.
“And he will make a firm covenant with the many for one week [seven years], but in the middle of the week he will put a stop to sacrifice and grain offering; and on the wing of abominations will come one who makes desolate, even until a complete destruction, one that is decreed, is poured out on the one who makes desolate.” (Daniel 9:27)
A week has 7 days and 1 day corresponds to 1 year. The last 42 months constitute The Great Tribulation, and Abomination of Desolation is the key event immediately preceding The Great Tribulation and is the last chance to flee from The Antichrist. Refer to the article Warning Signs to Flee Israel.
The construction of the 3rd Temple of Jerusalem will occur during the first 42 months of the Tribulation. The Great Tribulation will start when the Antichrist takes his seat in the Temple, and will terminate at Christ’s Second Coming.
“Now we request you, brethren, with regard to the coming of our Lord Jesus Christ and our gathering together to Him, that you not be quickly shaken from your composure or be disturbed either by a spirit or a message or a letter as if from us, to the effect that the day of the Lord has come. Let no one in any way deceive you, for it will not come unless the apostasy comes first, and the man of lawlessness is revealed, the son of destruction, who opposes and exalts himself above every so-called god or object of worship, so that he takes his seat in the temple of God, displaying himself as being God. Do you not remember that while I was still with you, I was telling you these things? And you know what restrains him now, so that in his time he will be revealed. For the mystery of lawlessness is already at work; only he who now restrains will do so until he is taken out of the way. Then that lawless one will be revealed whom the Lord will slay with the breath of His mouth and bring to an end by the appearance of His coming; that is, the one whose coming is in accord with the activity of Satan, with all power and signs and false wonders, and with all the deception of wickedness for those who perish, because they did not receive the love of the truth so as to be saved. For this reason God will send upon them a deluding influence so that they will believe what is false, in order that they all may be judged who did not believe the truth, but took pleasure in wickedness.” (2 Thessalonians 2:1-12)