Daniel 11:31 has already been fulfilled by Antiochus IV Epiphanes. There will be no future fulfillment of it.
Daniel 11 should be read in the context of these words -
36 “Then the king shall do according to his own will: he shall exalt and magnify himself above every god, shall speak blasphemies against the God of gods, and shall prosper till the wrath has been accomplished; for what has been determined shall be done. 37 He shall regard neither the God of his fathers nor the desire of women, nor regard any god; for he shall exalt himself above them all. 38 But in their place he shall honor a god of fortresses; and a god which his fathers did not know he shall honor with gold and silver, with precious stones and pleasant things.39 Thus he shall act against the strongest fortresses with a foreign god, which he shall acknowledge, and advance its glory; and he shall cause them to rule over many, and divide the land for gain.
40 “At the time of the end the king of the South shall attack him; and the king of the North shall come against him like a whirlwind, with chariots, horsemen, and with many ships; and he shall enter the countries, overwhelm them, and pass through. 41 He shall also enter the Glorious Land, and many countries shall be overthrown; but these shall escape from his hand: Edom, Moab, and the prominent people of Ammon. 42 He shall stretch out his hand against the countries, and the land of Egypt shall not escape. 43 He shall have power over the treasures of gold and silver, and over all the precious things of Egypt; also the Libyans and Ethiopians shall follow at his heels. 44 But news from the east and the north shall trouble him; therefore he shall go out with great fury to destroy and annihilate many. 45 And he shall plant the tents of his palace between the seas and the glorious holy mountain; yet he shall come to his end, and no one will help him.
“At that time Michael shall stand up,
The great prince who stands watch over the sons of your people;
And there shall be a time of trouble,
Such as never was since there was a nation,
Even to that time.
And at that time your people shall be delivered,
Every one who is found written in the book.
2 And many of those who sleep in the dust of the earth shall awake,
Some to everlasting life,
Some to shame and everlasting contempt.
Daniel 11:36-12:2
This plainly gives us the time period of the end, at the resurrection, and just before the resurrection the great tribulation, which Jesus referred to with the language used here in Daniel.
Daniel 12:1
And there shall be a time of trouble, Such as never was since there was a nation, Even to that time.
Matthew 24:21
For then there will be great tribulation, such as has not been since the beginning of the world until this time, no, nor ever shall be.
Daniel 11 takes place in the time of the end during the tribulation.
Both these kings’ hearts shall be bent on evil, and they shall speak lies at the same table; but it shall not prosper, for the end will still be at the appointed time. Daniel 11:27
And some of those of understanding shall fall, to refine them, purify them, and make them white, until the time of the end; because it is still for the appointed time. Daniel 11:35
Unmistakable language that puts Daniel 11 in the time of the end.
JLB