What you think of as a day ie., how long it takes the Earth to rotate around itself is not 24 hours, but it's 23 hours, 56 minutes and 4.2 seconds.