How to get the number of the week for a specific date ?
Like the week nb for 01/03/01 ?
Regards.
Use the julian calendar i.e. 1 to 365/366 count of days, and divide by 7, drop the remainder and add one I think.
Look at mktime, and time (inverse functions).
Would you be pulling this date from a Database?
If so you can have the database get the week number for you
SELECT WEEKNUMBER AS week(date_column) FROM....