Compute sun azimuth and elevation given a location and a date/time. Algorithm taken from: http://stackoverflow.com/questions/8708048/position-of-the-sun-given-time-of-Day-latitude-and-longitude.. Update version: Jan 6 '12 at 21:40 by "Josh O'Brien".
1 | sunPos(Year, Month, Day, Hour, Minute, Second, Lat, Lon)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.