The Bible does not say. It simply says:" In the beginning, God created the heaven and the earth." It does not say when "the beginning" was.
The clear meaning of the surrounding verses indicates it was on one particular day in creation week. Verse one of Genesis 1 is a verse which summarizes all that is to follow. The details are contained in each verse, where the particular acts of creation are recorded. The following verses would indicate it was on day 4.
14And God said, Let there be lights in the firmament of the heaven to divide the day from the night; and let them be for signs, and for seasons, and for days, and years:
15And let them be for lights in the firmament of the heaven to give light upon the earth: and it was so.
16And God made two great lights; the greater light to rule the day, and the lesser light to rule the night: he made the stars also.
17And God set them in the firmament of the heaven to give light upon the earth,
18And to rule over the day and over the night, and to divide the light from the darkness: and God saw that it was good.
19And the evening and the morning were the fourth day.
Mark