
There is a wonderful book by Jean Meeus called
"Astronomical Algorithms," (1991) which I am fairly sure
contains an algorithm for sunrise and sunset times.


Dan Asimov
Mail Stop T045-1
NASA Ames Research Center
Moffett Field, CA 94035-1000