When I was a child, I read many times over with fascination about the formation of the Earth in a large illustrated encyclopedia of sorts for adults (one of at least two volumes, though I will probably never remember the title). The first few chapters dealt with the formation of the solar system and the accretion of matter that created planetesimals that would eventually coalesce into the planets, the late bombardment, the creation of the Moon, and so on, peppered with beautiful artistic impressions.
Today I remembered that there were a few pages talking about how water came to the Earth and how the first oceans formed. The atmosphere must have had an immense amount of water vapour, but for a very long time the surface of the planet was far too hot for the raindrops to reach the ground. The Earth eventually became completely shrouded in clouds for many millennia, as the water vapour kept building up and condensed in the very top of the atmosphere, but had nowhere to go. And then one day water started falling to the ground faster than it evaporated, unleashing a downpour of unimaginable proportions which lasted centuries without abating.
My question is, is that an accurate picture? Can we actually figure out even so much as the order of magnitude of how long the first showers on Earth lasted for, or was the interval of "centuries" used solely for dramatic effect?
PS: I mean to make absolutely no reference to mythological events. I am talking strictly about what we can know by applying science. Also, apologies if this question is too soft.