This module will return a DateTime recurrence set for sunrise or sunset. WWW: http://search.cpan.org/dist/DateTime-Event-Sunrise/ WWW: http://datetime.perl.org/