in reply to Dates - which Tuesday is it
If $tue is the day of the month of your Tuesday, then int( ($tue-1) / 7 ) + 1; tells you, which one.