Two ways of dating fossils