Measurements of the peat bog layers go back 9/10,000 years, (ie 1 millimetre growth per annum). which is further evidence of the age of the planet. What was there before the peat formed?
Before the present-day peat formed, all vegetation would have been wiped off the landscape by ice during the last Ice Age. That Ice Age ended 9/10,000 years ago. That's the reason for the peat bog layers only being that old. Nothing to do with the age of the Earth, only the age of the peat bogs.