$~\quad~$ A quick Google search after daylength dinosaurs reveals the following relevant results :
Period : Upper Cretaceous – Age (years) : 70 million – Days per year : 370 – Hours per day : 23.7 — NASA
If we say the "time of the dinosaurs" started about 200 million years ago, then the years has lengthened by 1.2 million seconds in that time - or just under an hour a day less than today. To get all the way to a day of 17 hours, you need to go back a little before the dinosaurs - about 2 billion years. — Physics Stack Exchange
This means, for instance, that 100m years ago, when dinosaurs ruled Earth, a day was nearer 23 than 24 hours. — The Economist
Fossil evidence informs us about how the day-length has changed over geological time. When the dinosaurs first walked the Earth there were about 375 days in a year, 10 more than at present, each day more than 30 minutes shorter than now. — Independent
For Jurassic-era stegosauruses 200 million years ago, the day was perhaps 23 hours long and each year had about 385 days. Two hundred million years from now, the daily dramas for whatever we evolve into will unfold during 25-hour days and 335-day years. — The Washington Post
<PERSON> and a colleague recently showed that 1.4 billion years ago, a single “day” lasted only about 18 hours. Back in the Proterozoic, a few million years after multicellular life appeared on the planet, the moon was about 211,825 miles away from Earth—about 21,000 miles closer than it is today. 551
This, they figured out, compressed the length of a day down to 18.68 hours. By the time land plants evolved about 470 million years ago, the days had stretched to 21.46 hours. And when the dinosaurs showed up 225 million years ago, the days lasted 22.68 hours. The roughly 24-hour day we have now was almost in place as the first ice sheets bloomed near the Northern Hemisphere’s poles about 3.5 million years ago. — National Geographic
So would the day length during the age of the dinosaurs have been 21 hours? "The dinosaurs were around 100 million years ago, which at the current rate [ of day lengthening ] adds up to 2000 seconds, which is less than an hour." Geological evidence for increasing day length can help us pin this time down more accurately. Tidal records laid down in ancient estuaries can show daily, monthly and seasonal cycles in alternating deposits of sand and silt. They indicate that 620 million years ago the day was 21 hours, says <PERSON>. Since the dinosaurs lived during the Mesozoic era, from 250 million years ago to 65 million years ago, day length would have been longer than 21 hours and probably closer to 23 hours. — ABC Science 3