Practical Perl wrote:
> Hello,list,

Hello,

> Is there a fast way to get the week numeration in a year?
> For example,now it's 35th week in 2006,next week is 36th week of this
> year then.

$ perl -MPOSIX -le'print strftime q/%W/, localtime'
35


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to