When Were Dinosaurs Alive?

If you believe in evolution then the dinosaurs were alive for about 160 million years ending 65 million years ago. The age of the dinosaurs is called the Mesozoic era and had the Triassic, Jurassic and Cretaceous periods. If you believe in creation the were created on day 6 along with all the animals, about 5770 years ago give or take 6000 years.