The Criterion - 25:59 He created the heavens and the earth and all that is between them in six days and then established His authority. He is the Most Merciful; ask those who know Him well.
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.