Well that was easy. Thanks Rick. I should have looked on cpan before emailing.

-Matthew

Rick Measham wrote:
Matthew wrote:
Hey guys,
Does anyone have, already made, some type of "recurring events" module? We have our in-house function that works with singular weekly and singular monthly events but we'd like to branch into daily, bi-daily, bi-weekly, bi-monthly, every X weeks, every X days, etc.

Like DateTime::Event::Recurrence?

my $bi_daily_at_10_30am_set = DateTime::Event::Recurrence->daily(
   interval => 2,
   hours => 10,
   minutes => 30
);

http://search.cpan.org/dist/DateTime-Event-Recurrence/lib/DateTime/Event/Recurrence.pm

Cheers!
Rick Measham

Reply via email to