How many millions of years ago did the dinosaurs become extinct? Is it 40 million, 65 million or 98 million?

How many millions of years ago did the dinosaurs become extinct? Is it 40 million, 65 million or 98 million?