ANSWER:
The day which is equivalent to a thousand years is related to this dunya where Allah’s commands in this dunya in one day is equivalent to our times and ability of a thousand years.
While the day of judgment is equivalent to 50,000 years of ours in length.
Therefore, these are two different days with different lengths.