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.
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.