ISO-8601 week format to Sun-Sat format?
Posted: Fri Sep 01, 2006 11:46 am
I'm working on a calendar app, and I need to figure out which week of the year a date is in. However, my calendar works on a Sunday-Saturday basis. The date() function has the 'W' format, which returns the ISO-8601 week number. This format considers a week to be Monday-Sunday. How can I either convert to Sun-Sat, or otherwise find it?