(a) If we dig into the earth and start finding fossils, it can be assumed that the fossils closer to the surface are more recent to those found in the deeper layers.
(b) By detecting the ratios of different isotopes of the same element in the fossil material.