It takes the Earth 365 days to complete one rotation.
Sun rotate on its own axis. How much time does it take to complete one rotation?