A day, the time it takes for the Earth to rotate completely, takes 24 hours.
(it; takes; for the Earth to rotate completely; T:the time) (the Earth; to rotate; completely)
it the Earth
takes to rotate
for the Earth to rotate completely T:the time
completely