This sunset calculation and display code is hosted by AudioArchive.org

Free sunset display code


Just fill out the following information to generate code you can place on your own site to display the current and sunset time (like this demo).

Location name:e.g. Kingston
Latitude:
(look it up)
decimal:
° ' "
e.g. 44.24106
or
e.g. 44° 14' 28"
Longitude:
(look it up)
decimal:
° ' "
e.g. -76.51434
or
e.g. -76° 30' 52"
Time Zone:Offset from GMT: e.g. -5
(look it up)
Sabbath Message:optional, will show up from Friday sunset to Saturday sunset for some display styles below. If blank will show text seen below.
Display style:

(actual fonts, text sizes and colors are controlled by you with CSS)
HTML, table; (long date, Sabbath verse, local time, sunset time) on individual lines

HTML, table; (medium date, Sabbath message, local time, sunset time) on individual lines - more compact style

HTML, span; (no date, no message, no time, sunset time only) 1 line

HTML, span; (no date, no message, local time, sunset time) 2 lines



Send any questions to info@audioarchive.org