Is there a function in php similar to that of WEEK in mySql where if a date (eg 04-02-02) is passed the corresponing week number (5) is returned??
cheers,
http://www.phpinsider.com/php/code/Date_Calc/
Well, you can use the date function in conjunction with the strtotime function..with the date function you can return the day of the year, then you can devide that by 7 and floor it....should give you the week....
Matt Wade codewalkers.com
cf. www.php.net/date
specif. 'W'