| Sun cycle calculator (sunrise & sunset times)
This utility uses the well-known ‘Sunrise equation’ to compute the approximate times of sunrise and sunset from date (month, day, year) and location (degrees latitude and longitude). You need to select North or South latitude, and East or West longitude relative to the Prime Meridian. These coordinates can be entered directly, or you can use the 'Get Latitude and Longitude From World Map' button to select a location with a mouse click (this is not as accurate as directly entering exact coordinates, but should be close enough for most purposes, given the limitations discussed below).|
NOTE: The program expects latitude and longitude in fractional degrees, not degrees and minutes. Thus 27° 30’ north should be entered as ’27.5’ (i.e., halfway between 27° N and 28° N).
Sun time estimates are approximate for several reasons:
NOTE: The U.S. Naval Observatory hosts a web page (USNO Sun and Moon Data) that permits very accurate calculations of solar and lunar data. It incorporates ‘fixes’ for many of the issues described above, and — if you are connected to the internet — can be accessed with the ‘Naval Observatory Website’ button.
• The 'Get Latitude and Longitude From World Map' button opens a window with a world map (d'oh!) in Mercator projection. Move the cursor to the desired location and hit either the spacebar or return keys to select that position; as you move the cursor the latitude and longitude boxes at upper left update continuously. If you want to select a position on a higher-resolution 'regional' map, click the Zoom in X5 button, a rectangular cursor appears; move it until it encloses your area of interest and hit either the spacebar or return keys to enlarge that region. Then use the cursor and keys to select a position as described above.
Location data are accurate only to 0.33 degree of longitude and 0.25 degree of latitude on the world map and 0.11 degrees of longitude and latitude on the regional maps, but that should be accurate enough for most sunrise-sunset calculations.
As geographic references, the maps show the equator (yellow), the Prime or Greenwich Meridian (zero degrees of longitude), the Arctic and Antarctic Circles (~ 66.5 degrees N and S), and the Tropics of Cancer and Capricorn (~ 23.3 degrees N and S). Only a few of these will be visible on the enlarged regional maps.
Of course, if you want higher-resolution position data (and you are connected to the Internet), use Google Earth.
This example shows a Polar-region cycle, with complete darkness in winter and 24-hour sunlight in summer: