The "24-hour day" that is observable on most of the earth is the result of the Earth's rotation making the Sun alternately visible and invislbe to a ground-based observer. The Sun did not exist, however, until the Fourth Day. Therefore, something else must have created the light and darkness for the first three "days"; I see no reason to believe that those "days" were of the same duration as one rotation of our planet.