Sunrise and Sunset
The time of sunrise and sunset, as well as moonrise and moonset, depend on the date and your location on the Earth. The formulas used to calculate information is straightforward, and is often incorporated into many astronomy software programs. If you would like to write your own program, say by programming in BASIC, you can find the equations yourself in such books as "Astronomical Algorithms" by Jean Meeus.
You can find out the times of sunrise/set and moonrise/set, as well as the phase of the Moon, for cities all over the world, by accessing the U.S. Naval Observatory's Directorate of Time, and by filling out the appropriate information, you will instantly know this information.
Back to Astro-Link