The first recorded flood of the whole earth was 6000 years ago. The second recorded flood (Noah) was 5000 years ago.
Man being around 1.8 million years ago is a myth.
The first flood took place about four billion years ago, shortly after the oceans formed, and water covered the earth. There were also many large floods as the Pleistocene era receded over the last million years.