Sunset Calculator

latitude:   °  ′   ″   North (positive)  
longitude:   °  ′   ″   East (positive)  

location name (optional): 

year:    (enter a four-digit year)

get sunset times:

Look up your latitude and longitude on Google Maps; right-click your location and select “What’s here”; latitude and longitude are shown in the card at the bottom.

Times are local using your system’s time zone and daylight saving time settings.  The script only works for your own location because of daylight saving time.

Calculations are based on the “higher accuracy” equations in Astronomical Algorithms, second edition, by Jean Meeus, and the full VSOP87 data set.
(The NOAA Solar Calculator doesn’t use these, that’s why the times may be a minute or two different.)

Please visit | blog