How Long Did It Take For The Dinosaurs To Die?

How long have the dinosaurs been surviving on earth why did they disappear?

.

What really killed off the dinosaurs?