in reply to
Date::Calc Week_of_Year offset
I'm not sure about strftime, but in the Unix date programme, %V is the Week of the Year with Monday as the first day. It could be the same.
Neil
Comment on
Re: Date::Calc Week_of_Year offset
Replies are listed 'Best First'.
Re^2: Date::Calc Week_of_Year offset
by
sweetblood
(Prior)
on Oct 21, 2004 at 02:13 UTC
Yes you're right, It would be "%V" for a Sunday start of week. The cb suggestion was to use "%U" but I believe they meant "%V" but this is not really the problem using strftime really the problem is partial weeks such as 12/31/2003.
Thanks!
Sweetblood
[reply]
Re^3: Date::Calc Week_of_Year offset
by
neilh
(Pilgrim)
on Oct 21, 2004 at 02:18 UTC
Once again comparing to Unix date, the partial week at the end of the year is defined as week number 0.
Neil
[reply]
In Section
Seekers of Perl Wisdom