The opening words of Genesis tell us: In the beginning God created the heavens and the earth. Genesis 1:1
Do these words of Genesis say that this happened about ten thousand years ago?
No, it gives no time period. The beginning could therefore have been billions of years ago.
The account in Genesis then goes on to outline the famous six days of creation.
These days, though, were not the time during which the material of the earth and the universe was created. That had already happened in the beginning.
The six days of creation were, rather, the periods of time during which the primordial, inhospitable earth was slowly made fit for habitation.
Was each one of those six days a literal 24-hour day?
That is not what Genesis says. The word day in the Hebrew language the language in which Genesis was written can mean long periods of time, even thousands of years. Psalm 90:4
For example, the seventh day in which we now live is thousands of years long. Genesis 2:2, 3
the evidence shows that the entire period of six days should be viewed as tens of thousands of years long.