Visions and Myths
John Paul 2 once said the early parts of Genesis are a myth. I do not know whether this is a mistranslation or he meant that it was just the way of the early hebrews to see the beginnings of history. I can assure you especially those who are right thinking Catholics it is quite in line with revelations of God through dreams and visions of rigiven to the righteous children of God.
It is obvious therefore to those who think through the guidance of a prayerful life that someone, perhaps Moses, slept and during each of six nights he saw the creation of the world. When he did not dream on the seventh night as he slept, He considered God rested as the creation of Mankind was finished and life began.