recurring system

2007-01-16 Thread Matthew
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. Our current logic

Re: recurring system

2007-01-16 Thread Matthew
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

Re: recurring system

2007-01-16 Thread Zefram
Matthew wrote: To me, this seems amazingly inefficient. If my weekly recurring original event start date was Aug 1, 2006, the perl would have to loop 26 times to find the next event (in this case, Jan 23). Can anyone offer a better solution to this? Yes: determine the day-of-week of the