When was earth formed? What was its conditions at that time?

When was earth formed? What was its conditions at that time?

The earth was formed approximately 4.5 bya. At that time, there was no atmosphere on the earth. Water vapour, CH4, C02 and NH3 released from molten mass covered the surface.