HTML 5 geolocation code that works out if it's day or night
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
geo.js
index.html
sunrise.js

README

A combination of HTML 5 geolocation and Preston Hunt's sunrise and sunset
Javascript code (http://williams.best.vwh.net/sunrise_sunset_algorithm.htm)
to create a webpage which knows if it's day or night where you are.