Attention: Deprecated Web Scripts
Complete Sun and Moon Data for One Day
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" was removed in August 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 (https://aa.usno.navy.mil/data/docs/RS_OneDay.php) 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 (https://aa.usno.navy.mil/data/docs/api.php)
You may obtain a 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.