Just wondering what the church teaches on this.
The Church does not have a teaching on this, because it does not pertain to either faith or morals. Whether the earth is young or old is a matter for science.
Catholics can believe in either Creationism or evolution (with some conditions). The Church leaves this up to science to decide. Check out the articles on the main page of CA.