TIMTOWTDI: Using my favourite date-related module Date::Calc
Please look at the documentation of the module why returning the year makes sense... HTH, Ratause Date::Calc qw(Week_of_Year); $date =~ /(\d\d)(\d\d)(\d\d)/; ($week,$year) = Week_of_Year(2000+$3,$1,$2);
In reply to Re: week of the year
by Ratazong
in thread week of the year
by fionbarr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |