But the most accurate forms of absolute age dating are radiometric methods. Sedimentary rocks in particular are notoriously radioactive-free zones.
This method works because some unstable (radioactive) isotopes of some elements decay at a known rate into daughter products. Half-life simply means the amount of time it takes for half of a remaining particular isotope to decay to a daughter product. Good discussion from the US Geological Survey: geochronolgists just measure the ratio of the remaining parent atom to the amount of daughter and voila, they know how long the molecule has been hanging out decaying. So to date those, geologists look for layers like volcanic ash that might be sandwiched between the sedimentary layers, and that tend to have radioactive elements.
The narrower a range of time that an animal lived, the better it is as an index of a specific time.
No bones about it, fossils are important age markers.
Unlike people, you can’t really guess the age of a rock from looking at it.