Ok, let’s start at the beginning. About 2 Billion years ago the earth’s surface started to cool and a crust formed.
I’ve always heard the outer crust solidified about 4 billion years ago. But it had to have been a little more than that since geologists have radio-dated rocks to over 4 billion years.