468,321 Members | 1,681 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,321 developers. It's quick & easy.

Print Week Number from System Time

Hi

I am new in Perl, i want to print the week number from the Date.
I fetched date from localtime() function, now how can we convert this date into the week number?

Thanks in advace :)
Sep 17 '08 #1
4 2685
KevinADC
4,059 Expert 2GB
the localtime function does not contain the number of the week. Maybe POSIX or one of the Date modules can determine that.
Sep 17 '08 #2
I retrived the Today's date by the localtime() function, now i want to print the corronsponding week number in Perl...
Sep 17 '08 #3
numberwhun
3,503 Expert Mod 2GB
I retrived the Today's date by the localtime() function, now i want to print the corronsponding week number in Perl...
If I am understanding what you want, then you want to be looking at this module from CPAN.

Regards,

Jeff
Sep 17 '08 #4
KevinADC
4,059 Expert 2GB
I retrived the Today's date by the localtime() function, now i want to print the corronsponding week number in Perl...
Thats nice...good luck.
Sep 17 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by androtech | last post: by
9 posts views Thread by Ray | last post: by
reply views Thread by Chris Millar | last post: by
10 posts views Thread by purkka | last post: by
5 posts views Thread by Tony | last post: by
18 posts views Thread by Jen | last post: by
6 posts views Thread by aarklon | last post: by
3 posts views Thread by sbaird | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by howard w | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.