One can actually go to the appropriate geological strata and find fossils of the animals that lived at that time period.
The presence of an animal fossil in a rock gives evidence of the time period the animal lived in.