That is approximately 23 hours and 56 minutes for Earth, or 24 hours if you round up. However, even this answer is dependent on where one is standing on the Sun, as various portions of the Sun spin at different rates. It would take around 24.5 Earth days at the equator and nearly 34 Earth days at the poles. The actual number of hours during a single day can vary significantly.
In fact, the amount of time it takes the Sun to rise every morning and set every evening is very close to 12 hours. The difference between night and day is due to the fact that the Earth rotates on its axis while orbiting around the Sun. During a single rotation, certain parts of the planet are illuminated by sunlight while others are in darkness. These two effects combine to make a full day.
The Sun rises about 5:00 a.m. and sets about 7:00 p.m., but when you're traveling across the country in an airplane it will appear like it's already dawn because you're flying west to east, away from the Sun. As soon as the plane turns north or south, back toward the Sun, it gets dark again.
This is why pilots need to adjust their watches for civil aviation standards after they've been asleep for several hours. They have to know how far along the flight path they are so they can calculate how long it will be before sunset.
It might take anywhere from 2 minutes to 15 hours. On a day when the sun passes directly overhead, the sun's disc, with its size of around 30 arc minutes (half a degree), will ascend from the beginning to the final edge in about 2 minutes (1/720 of the day). But on other days when the sun is at an angle to the horizon, it takes longer for the entire disc to rise above the horizon.
The time it takes for the sun to rise can be used as a way to measure how far north or south you are. If you walk until you are at the same latitude as where the sun is rising, you have found the geographical center of your country or continent.
Similarly, if you walk until you are at the same altitude as where the sun is when it rises, you have found the geographical center of Earth. Our planet is not always centered under the sun during sunrise, but the difference between the highest and lowest points on its surface is usually very small. For example, the distance from the center of Earth to the top of Mount Everest is about 5 miles (8 km).
Sunrise and sunset times vary with the season and local weather conditions. They are generally more than an hour earlier in the spring and late autumn, and more than an hour later in the summer heat. In cold climates, they may be several hours earlier each year because plants need sunlight to grow.
Every day, the Sun rotates 360 degrees. 0.5 degrees indicates it takes 1/772 of a day, 0.033 hours, or exactly 2 minutes. So, during sunrise, it takes 2 minutes from the time you first notice the point of the sun until it looks entirely full. At its maximum height above the horizon, the sun is about 50 miles (80 km) high. It then starts to set again.
The actual time it takes for the center of the sun to rise over the horizon and start shining is called the sunrise time. But since this only happens every 72 minutes on average, most people will want to know how long a sunset lasts. This is called the sunset time and can be found by subtracting the sunrise time from 12 o'clock noon. For example, if the sunrise time is 5:30 a.m. and it's 6:00 p.m., then the sunset is around 11:30 a.m.
It's important to remember that these are times when there is no wind and no clouds present in the sky. If it's cloudy or windy, or even just slightly misty, then the sunlight will make its way through these elements and we won't see as much of a change between daytime and nighttime.
In addition, if it's not dark enough yet for stars to come out, then there'll be no such thing as a twilight sunset.