Page 1 of 1

working with dates

Posted: Wed Oct 20, 2004 9:02 am
by mcog_esteban
can someone help with this.
i have a calendar with events,but i want to insert automatic events like this:

every 1st week of every month there's a meeting or every last friday of a month there's a party.

how can i process this events automaticaly?
thanks.

Posted: Wed Oct 20, 2004 9:07 am
by feyd
process them.. how? add them to the event calendar? or bypass the addtion and blindly show the events in the calendar display?

Personally, I'd add them to the calendaring, and thus the database. I'd probably build the "event" table such that I have a way of specifying recurring events. Standard kinda things would be a numeric field and an enum/numeric field that specifys the kind of recurrance it has.. like yearly, monthly, weekly, daily, etc...

Posted: Wed Oct 20, 2004 9:17 am
by mcog_esteban
i would like to create a script that add the events in "background",instead of adding one by one to the calendar.

Posted: Wed Oct 20, 2004 9:22 am
by feyd
my second paragraph talks about just that.