Chronostratigraphy is the branch of stratigraphy that studies the ages of rock strata in relation to time.