There is a nice little tool in Lucid emacs. It's called "calendar".
On request it shows for given longitude/latitude coordinates times for
sunset and sunrise. The code is written in lisp.
I don't know if you like the idea that an editor is the right program to
calculate these things.


Theo W.