![]() ![]() |
Apr 15 2004, 07:07 PM
Post
#1
|
|
|
Rank: Tornado ![]() ![]() Group: Founding Member Posts: 61 Joined: 7-March 04 From: Colonie, NY Member No.: 12 |
I was wondering if anyone knew of a javascript formula for daylight hours so I could put that on my web site.
Thanks, Chris |
|
|
|
Apr 15 2004, 11:03 PM
Post
#2
|
|
|
Rank: Whirlwind ![]() Group: Founding Member Posts: 38 Joined: 8-March 04 From: New Zealand Member No.: 40 |
might not be the answer, but weather display software does this for you, i,.e the possible sunshine hours for your lat/long, and makes it available as a custom tag.....
but hopefully someone will answer with where you can find the java script formula....maybe use the hours/minutes between sunrise and sunset... -------------------- Cheers
Brian See my weather data: http://www.weather-display.com/windy/otherdat.htm http://www.weather-display.com/windy/flash/ and my software: http://www.weather-display.com |
|
|
|
Apr 17 2004, 07:55 PM
Post
#3
|
|
|
Rank: Tornado ![]() ![]() Group: Founding Member Posts: 219 Joined: 7-March 04 Member No.: 18 |
As Brian says WD has a lot of this kind of stuff available to customize a website but if you don't/can't use it you may find something on these pages;
http://www.jgiesen.de/GeoAstro/GeoAstro.htm http://users.telenet.be/educypedia/education/spacejava.htm -------------------- Laurie
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 10:47 AM |