St Augustine in Civitas Dei gives the different chronologies of the various civilizations, and if I recall, even the Egyptians estimate the earth to be about 10,000 years old, according to Augustine. But the Doctor of Grace does say that it matters not if we believe that the earth is eons old. What we cannot say is that The Fall did not happen, or that God did not immediately create Adam and Eve, etc.
The problem is, that the majority of those who hold that the earth is millions of years old tend to be evolutionists. A Catholic is allowed to be a heliocentrist, but he cannot deny what was aforementioned. If a Catholic were obligated to believe a particular number of years - let us say, six thousand, seven thousand, no, ten thousand, et alia, there would be mayhem. Sometimes numbers can be tricky. Blessed Anne Emmerich says that there were over a hundred people on the Ark, and this is not against Faith. When St. Peter says, "eight souls were saved through water," we can safely maintain that there were ninety more souls. But we cannot say, "Only six souls were saved through water," as this would obviously imply heresy. Now, if St. Peter had said "only eight souls were saved by water," then we would be obligated to believe only eight souls. But Scripture does not include the qualifier "only."
The heliocentric heresy was never abrogated so is still a heresy.
'I saw these false computations of the pagan priests at the same time as I beheld Jesus Christ teaching on the Sabbath at Aruma. Jesus, speaking before the Pharisees of the Call of Abraham and his sojourn in Egypt, exposed the errors of the Egyptian calendar. He said the world had now existed 4028 years. When I heard Jesus say this, He was thirty-one years old.’--- Blessed Katarina Emmerick.
Katarina’s age for Jesus Christ is the exactly the same as found in the Scriptures: Adam 5 days, Noah and the flood 1056 years (2941BC), Abraham 1950 after Creation (AC), Exodus 2540AC, birth of Jesus 3997AC, death of Jesus 4030AC at 33 years, fall of Jerusalem 4070AC, the world on 2000AC was 5997 years old, 2022 years after Christ was the year 6,018AC and so on.