Login to AccuWeather.com Premium Login to AccuWeather.com Professional Login to AccuWeather.com RadarPlus AccuWeather.com

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Daylight Hours Formula
colonieweather
post 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
Go to the top of the page
 
+Quote Post
Brian Hamilton
post 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...


--------------------
Go to the top of the page
 
+Quote Post
laurie
post 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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 20th December 2014 - 09:21 AM