calculate the sun-up
-
Can you be more specific? Do you mean to say that you need a function to calculate when sunrise is? In different timezones? It's hard to tell what you are talking about.
-
It's a little involved. something of an algorithm: http://users.electromagnetic.net/bu/astro/sunrise-set.php[^] a program in vb which is supposed to calculate it: http://www.freevbcode.com/ShowCode.asp?ID=341[^] A piece of advice: you'll get answers faster if you ask more specific questions. edit...something better: http://www.4guysfromrolla.com/webtech/010800-1.shtml[^] -- modified at 13:35 Saturday 13th January, 2007
-
daniel99 wrote:
I´m looking for a algorithm to calculate the sun up. Who can help me.
The Sun API DLL[^] but if you prefer the algorithms itself (not a DLL) then you might want to look at the bottom Middle of this[^] (Ben always has to go add stuff before I reference it ;) )
_________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)