What's interesting to me is that when one talks about God creating the heavens and the earth in 6 days...that doesn't have to mean 6 earth days (24 hrs each).
A day on Pluto, for example, is 6.4 earth days equivalent, and therefore more than 38 days during that 6 day period on earth.
So, one "day" to God might be a million years.
There's obviously more to the universe than the earth and our daily perspective.
The way the Hebrew is constructed and used within the context of the OT it does mean a 24 hour day as we understand it.
One author examined the days of creation from the perspective of relativistic time dilation. From the perspective of the Big Bang, the first day would, he argued, correspond to billions of years as seen by you or me on Earth in the present.
Whoever wrote it got the sequence right, and what’s more astounding, the timing, with a long, long period for it to get started and then the more complex forms of life all arriving on the same “day.” Someone understood the acceleration that takes place with increased complexity.