There was a sun rise / set calculator based on the Zend framework here, but it did not play nicely with Drupal and I use one on the ipad now anyway, so did not bother to fix the errors. I now use The Photographer's Ephemeris on the iPad and it just rocks!