Page 1 of 1

Calendar code - weekly recurring event?

Posted: Mon Aug 14, 2006 11:16 am
by rubenc
Forgive me if I didn't find the already discussed topic and in that case please refer me to that threat. In all other cases here is my problem:

I like to generate an array that is filled with the dates of all Mondays of a year.
Unfortunately, I don't know where to start coding. Can this be done in a simple way?

Posted: Mon Aug 14, 2006 11:38 am
by feyd
strtotime() will be the function to use most.

Posted: Tue Aug 15, 2006 4:31 am
by rubenc
Thank you for the fast reply....sorry to have bothered you with something this easy :oops:
Anyway, my database fills nicely with events.

For persons interested, this contribution helps to create a calendar snippet for the Etomite CMS (eventually)