It takes 23 hours, 56 minutes and 4 seconds for the earth to rotate 360°. However, in that time the Earth has moved nearly a degree around the sun, so the Earth has to rotate for 4 minutes more to get the sun back to the same position it was exactly a day ago.
about 2 months ago