<dunce cap>
Why is the first week defined that way?
</dunce cap>
eerrr.... maybe I had best leave it on....
Roy Alan
| [reply] [d/l] |
I believe Date::Manip treats the first week of the year as the week that January 1st is in. A week is still Sunday -> Saturday (or Monday -> Sunday?), so if January 1st is on a Friday, several of the days at the end of December will be treated as being part of the first week of that year.
How would you define it? With varying "week" boundaries? One year a week starts on a Wednesday, the next it starts on a Friday? Would you break up a week into two pieces, calling the first piece week 52 and the 2nd piece week 1?
It makes sense in a weird sort of way.
| [reply] |
| [reply] |