Sun or Moon Rise/Set Table for One Year
Skip navigation

Important!  Please read the Notes section.

This page provides a way for you to obtain a table of the times of sunrise/sunset, moonrise/moonset, or the beginning and end of twilight, for one year.

You can obtain a table for any location worldwide by following these simple steps:

Form A - U.S. Cities or Towns

Specify year, type of table, and place:




The place name you enter above must be a city or town in the U.S. The place's location will be retrieved from a file with over 22,000 places listed. Either upper- or lower-case letters or a combination can be used. Spell out place name prefixes, as in "East Orange", "Fort Lauderdale", "Mount Vernon", etc. The only exception is "St.", which is entered as an abbreviation with a period, as in "St. Louis". You need only enter as many characters as will unambiguously identify the place. The city or town name may be left blank if the State or Territory is District of Columbia.

Form B - Locations Worldwide

Specify year, type of table, and place:



The place name you enter above is merely a label for the table header; you can enter any identifier, or none (avoid using punctuation characters). The data will be calculated for the longitude and latitude you enter below.

Note: Coordinate components should be entered as integers (no decimals).

Time Zone:    
Need coordinates?  Try NGA's GEOnet Names Server (GNS).
Need U.S. coordinates?  Try the USGS Geographic Names Information System (GNIS).
Need a time zone?  Try the time zone map.



How to Print the Table

The table is 134 characters wide, so to print it you must use landscape orientation and 8-point (smallest) type. Consult your browser's documentation for details on how to change the font/text size. An alternative scheme is to save the table to a file on your computer (for example, in Internet Explorer, click on File then Save As...), then use your favorite word processor or text editor to print it.

How to Import the Table into a Spreadsheet

Open your favorite text editor, then copy the numerical part of the table (i.e., do not copy the table headings) from your browser and paste it into the text editor. Save the data as a text file.

In Excel for Windows, select Data on the menu bar, then From Text. Select your saved text file. Choose fixed width in the dialog box.

In Excel for Mac, select Data on the menu bar, then Get External Data, then Import from Text File. Select your saved text file. Choose fixed width in the dialog box.


For information on the definitions of rise, set, and twilight, see Rise, Set, and Twilight Definitions in FAQ.

Time Zones

For U.S. locations (Form A), phenomena times are presented in the standard time 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.

For worldwide locations (Form B) that require it, the time zone can be entered in hours and a fraction. For example, for locations in India, the time zone may be entered as 5.5 hours east of Greenwich. The time zone field can accommodate up to five characters.

Legal Use of the Data in the Table

Please see Astronomical Data Used for Litigation if you are interested in using for legal purposes the data produced by this service.

Sunset photo taken from Nags Head, North Carolina, by George Kaplan.

Back to . . .     top     Form A     Form B