discovering event dates

    Date: 10/26/06 (PHP Community)    Keywords: no keywords

    we have events that occur every tuesday and the first wednesday of every month. is there a way i can determine what the dates for these events will be? this is two independent problems:

    determine the date for the next tuesday that will occur.
    determine the date of the next 1st wednesday (current or next month) that will occur.

    i've been messing around with various date related functions, but i guess i'm having trouble figuring the math involved?

    Source: http://community.livejournal.com/php/505672.html

« Web Developement Blog Launch || brain fart.. »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home