On Thu, 15 Jan 2004 19:10:46 +0100, Georges Heinesch <ne**@geohei.lu>
wrote:
Hi.
I need some VBA code to calculate sunrise and sunset for certain
locations. Is there any know code for this (or library) or is there any
site which is holding such formulas?
The code should calculate sunrise and sunset with an accuracy of #30
seconds. I have code which provides 1/100 second accuracy, but the time
required for calculation is unaccepatble.
Thanks for any help.
Well, you asked for code, so look here:
http://aa.usno.navy.mil/faq/docs/SunApprox.html
I think your not going to get the accuracy you say your looking for.
Sunrise and Sunset vary according to location, elevation, surrounding
elevation, etc.
If you wish to search further, open any browser and search for
"Sunrise times", without the quotes.
--
Fred
Please reply only to this newsgroup.
I do not reply to personal e-mail.