This module will return a DateTime recurrence set for sunrise or sunset. WWW: http://datetime.perl.org/