Attention: Deprecated Web Script

A new script to compute rise, set, and transit times of the Sun and Moon is now available. The web script you called to obtain "Complete Sun and Moon Data for One Day" will not be available after July 31, 2015.

On December 31, 2014, a new computational program to produce the data provided for the "Complete Sun and Moon data for One Day" page was introduced. The input form page ( now utilizes this new program. The new program is more accurate than its predecessor and is structured so that users may query for data either via our web form page, or via our new API (Application Programming Interface). The API returns data in JSON (Java Script Object Notation) for users who wish to manipulate the data into a customized format. For more information on the API, please see the documentation page (

Below is the output you have requested from the deprecated program. You may obtain a similarly formatted output page from the new program by submitting GET requests to it. You can model your GET requests after the URL generated from the input form page link listed above.

U.S. Naval Observatory
Astronomical Applications Department

Sun and Moon Data for One Day

Sorry, date cannot be processed.

No state specified.

No city or town specified.

Back to form