The determination of the age of a rock based on the surrounding evidence is called approximate dating, law of superposition, relative dating, or absolute dating.