The first thing we need to do is dismiss this fallacy about the use of "day" in the Genesis account. In the original Hebrew the word is "Yom" and while this is translated correctly as day it also has other meaning such age, eon, period of time epoch etc. So we can see that the traditional view that the earth was created in seven 24hr periods can also be viewed as seven eons or stages, which gives us a much more realistic time frame for the creation.
And the earth was without form, and void; and darkness was upon the face of the deep. And the Spirit of God moved upon the face of the waters.And God said, Let there be light: and there was light.And God saw the light, that it was good: and God divided the light from the darkness.And God called the light Day, and the darkness he called Night. And the evening and the morning were the first day.
God then commands "let there be light" then He divided the light from the day. Well science teaches us that as the sun ignited it created a gravity well that the debris field started to rotated around and this debris field eventually coalesced at various points into the planets, which started to rotate in their orbits and creates night & day on their respective surfaces.
So we can see that so far Moses and science agree.
And God made the firmament, and divided the waters which were under the firmament from the waters which were above the firmament: and it was so. And God called the firmament Heaven. And the evening and the morning were the second day.So what's happening here? The language can be quite confusing but we're talking about the creation of the atmosphere around the planet. First the firmament is surrounding the planet and divides the "waters", if we take these waters to be atmospheres then we have the firmament dividing the atmosphere under it from the atmosphere above it, so the atmosphere of the earth from the atmosphere of outer space. Once again science teaches us that as the earth cooled an atmosphere did very much form around the planet...once again Moses & science tells the same thing.
And the evening and the morning were the third day.
Well here we have God commanding the water and the land to separate, the land into one place and the seas into another. So why would Moses who had been raised as an Egyptian prince and know full well that there were separate lands and continents say that once there had been only one land mass? Because it was true. And modern day scientists call that super-continent Pangea.
Next God brings forth the world's vegetation and once again science would agree. Science teaches us that the first forms of plant life formed in the oceans which produced oxygen to create the atmosphere we have today. Within this oxygen rich atmosphere vegetation then spreads to dry land.
And the evening and the morning were the fourth day.