The Heights - 7:54 Allah, your Lord, is He Who created the heavens and the earth in six days and then established His authority. He covers the night with the day that pursues it incessantly. The sun, the moon and the stars are subject to His authority. To Him belongs the creation and the government. How great is Allah, the Lord of the universes!
According to the Qur'an, time is relative:
The Prostration/32:5 He controls all affairs from the heavens to the earth. Then they ascend to Him in a day equal to a thousand years of what you count.

The Ways of Ascent/70:4 To Him ascend the angels and the spirit (revelation/commands/Command/Jebrail) in a day equal to fifty thousand years.

The Pilgrimage/22:47 They challenge you to bring that torment quickly. Allah does not break His promise. A day with your Lord is like a thousand years in their reckoning.