Daniel is reading one entire message written in the scripture of truth and/or Gabriel is reading it. Daniel 12 comes after what took place in Daniel 11:45.
The events of Daniel 12:1 come after Daniel 11:45. When it gets to Daniel 12:5, it not just Daniel and the messenger angel talking, but two other persons appear. And the discussion gets expanded. They start talking about the time, times, and half times - from the time the power of the holy people is scattered, not from the time the person in 11:45 comes to his end.
Daniel 12 is where the great tribulation starts - the time, times, and an half. As Daniel keeps reading or getting told what is in it - he gets to the point of he must close the book.
Daniel 12:5 is where the DISCUSSION starts about the great tribulation and it lasting the time, times, and half times.
I think the deadly wound occurs in Daniel 11:45 - not Armageddon.
After he died in Daniel 11:45 will come the time of Satan gives him power and the world wonders after him.
The nations won't be making war with him - he will war against the saints.
Daniel 11:45 is right at the gathering at Armageddon - because in the battles in Daniel 11:44, he gets news from the east that worries him. That news is that the kings of the east have crossed the dried up Eurphrates. That particular passage is right at the end of the 7 years, the sixth vial of wrath. Which is right before the gathering of the armies at Armageddon.
There is no other prophecies in the end times of news coming out of the east, or armies coming out of the east - except that in Revelation 16 right at the end of the seven years.
Revelation 16:
12 And the sixth angel poured out his vial upon the great river Euphrates; and the water thereof was dried up,
that the way of the kings of the east might be prepared.
13 And I saw three unclean spirits like frogs come out of the mouth of the dragon, and out of the mouth of the beast, and out of the mouth of the false prophet.
14 For they are the spirits of devils, working miracles, which go forth unto the kings of the earth and of the whole world, to gather them to the battle of that great day of God Almighty.
15 Behold, I come as a thief. Blessed is he that watcheth, and keepeth his garments, lest he walk naked, and they see his shame.
16
And he gathered them together into a place called in the Hebrew tongue Armageddon.
The nations have the idea - as to who can make war with him.
But he will continue his wars - for 42 months. against the saints.
Zechariah 14 shows that all nations come against Jerusalem and half of the city is taken into captivity. This seems to happen in Daniel 12's timeframe - as to after the world has wondered over the wounded head being healed.
All nations coming against Jerusalem is right
at the end of the 7 years, because in Zechariah 14:4-5, it says that those in Jerusalem will escape through the split in the mountain when Jesus foot touches down.
2 For I will gather all nations against Jerusalem to battle; and the city shall be taken, and the houses rifled, and the women ravished; and half of the city shall go forth into captivity, and the residue of the people shall not be cut off from the city.
3 Then shall the Lord go forth, and fight against those nations, as when he fought in the day of battle.
4
And his feet shall stand in that day upon the mount of Olives, which is before Jerusalem on the east, and the mount of Olives shall cleave in the midst thereof toward the east and toward the west, and there shall be a very great valley; and half of the mountain shall remove toward the north, and half of it toward the south.
5 And ye shall flee to the valley of the mountains; for the valley of the mountains shall reach unto Azal: yea, ye shall flee, like as ye fled from before the earthquake in the days of Uzziah king of Judah: and the Lord my God shall come, and all the saints with thee.
The part in Revelation 13 about who can make war against the beast is right after he has made war on the two witnesses and over come them.
Revelation 11: 7 And when they shall have finished their testimony, the beast that ascendeth out of the bottomless pit
shall make war against them, and shall overcome them, and kill them.
10 And
they that dwell upon the earth shall rejoice over them, and make merry, and shall send gifts one to another; because these two prophets tormented them that dwelt on the earth.
Revelation 13: 4 And they worshipped the dragon which gave power unto the beast: and they worshipped the beast, saying,
Who is like unto the beast? who is able to make war with him?