When did the Earth’s continents form

How and when did the Earth’s continents, oceans, and atmosphere form