The question demonstrates the scientific illiteracy of the questioner. First, the age of the earth is NOT 4b years. The earth was created at the BIG BANG about 14b earth years ago just as Genesis 1 says. But in the beginning, it was without form, just as Genesis 1 says. It formed piece by piece through a process, then over billions of earth years.
Second, we've known for over 100yrs that there is no single "time". The time you measure depends on where you are standing when you measure the time. If you are God, you will measure 6 days. If you measure from the earth, you get 14b years. Both times are correct!
The questioner apparently doesnt understand science. He needs to take a physics course. The Bible is correct.