Anybody knows why the day has 24 hours, each hour has 60 mins. and so on?

I read that it was because the Sumerians used a base 12 system, and the Babylonians adopted this and added their base 60 system. That actually sounds a little uncertain, so i'd like to know if any of you guys knows the truth .