According to passages in the Bible, a day in creation may not have been a day as we experience it but a day according to God's timeline.....best analogy I can think of is the Prophets from Star Trek Deep Space Nine.
But if we walk in the light, as He is in the light, we have fellowship with one another, and the blood of Jesus, His Son, purifies us from all sin.