The Date module with Views has functionality to filter dates with a granularity by Day, Months, Year, etc. but not for weeks. So to do this with a Contextual Filter and PHP code to retrieve the current week, I tried this:
This had an output that suggested the current week was the fifth of the year which would be in February as shown here:
Yet the output is correct without any filter as shown here:
With other PHP code to filter the View by days and months, it worked great. Yet this week filter doesn't seem to know the current week of the year. How can I either have the Date module filter with a granularity of weeks, or input the correct PHP code to have the list filter by the current week?