Answer:
I think you are talking about radioactive aging? (see explanation)
Explanation:
We have rocks from the Moon (brought back), meteorites, and rocks that we know came from Mars. We can then use radioactive age dating in order to date the ages of the surfaces.
Have a great day <3