If you are calculating it your self and assuming you are intrested in the ISO defenition of the week number: http://www.proesite.com/timex/wkcalc.htm
Of course there are modules on CPAN that do the same but then again, if all you want to know is the number of the week it might be simpler to calculate it rather then adding a module requirement to your perl code. (depends a bit on how portable your code needs to be) Regards, Rob On Wed, Apr 2, 2008 at 2:00 PM, Jennifer G. <[EMAIL PROTECTED]> wrote: > How do I know this day is in NO. which week in this year? > for example, Jan 1 is in the no.1 week of this year. > but how about the current day? > Thanks. > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > http://learn.perl.org/ > > >