it takes the earth twenty four hours