Use these forms to obtain rise, set, and transit times for the Sun and Moon; civil twilight beginning and end times; and, lunar phase information for any year between 1700 and 2100. First, specify the date and location in one of the two forms below. Then, click the "Get data" button at the end of the form.
Form A - U.S. Cities or Towns
Form B - Locations Worldwide
Legal Use of the Calculated Data
Please see Astronomical Data Used for Litigation if you are interested in using the data produced by this service for legal purposes.
For more information on the terms used, see the Astronomical Almanac On-line Glossary, Rise, Set, Transit, and Twilight Definitions, or Phases of the Moon and Percent of the Moon Illuminated in the Astronomical Information Center.
Computing Data for Multiple Days
If you need rise, set, or twilight times for a series of dates for a specific location, use our Sun or Moon Rise/Set Table for One Year service, which computes a one-page table covering a calendar year.
The moon phase and fraction illuminated provided are computed for noon on the date requested, in the time zone requested.
For U.S. cities or towns (Form A), the output times will be on a 12-hour clock (with "a.m." or "p.m." listed). For worldwide locations (Form B), the output times will be on a 24-hour clock.
For U.S. locations (Form A), phenomena times are presented in the standard time or daylight time (see below) of the place requested, using the current time zone of that place. Standardized time zones were introduced in the U.S. in 1883, but the time zone boundaries have evolved considerably since then, with places shifting from one zone to another. This service makes no attempt to track such changes.
In accordance with the Uniform Time Act of 1966 and subsequent legislation, daylight time (DST) is implemented only for U.S. locations (Form A) from 1967 to the present day. Daylight time is not used for places currently exempt from it.
Application Programming Interface
Sunset photo by Lu Rarogiewicz from Mt. Wilson, California.