If I was to say, for example, that the start date is 01.01.2003, and
the condition is 'every first monday of the month', I should calculate
all the next occurrencies of that item from 01.01.2003, and display
them if within the given range of dates.
Is there any function in php which tells me, given a date, what day of
the month it is (2nd, 5th, 23rd, etc.), and if it's a monday, tuesday,
etc., or even which week it is (1st, 2nd, 3rd etc.) ?
Thanks
Tony Marston
"degrit" <death_...@hotmail.com> wrote in message
news:b01a7ee2.03061...@posting.google.com...
Is the function
NWeekdayOfMonth($occurance,$dayOfWeek,$month,$year,$format="%Y%m%d")
of the date_calc class http://www.phpinsider.com/php/code/Date_Calc/
the thing you're looking for?