On Thu, 22 Jan 2004 19:28:24 +
[EMAIL PROTECTED] wrote:
Is their a way in PERL to covert a date to a week number
Try this;
#!/usr/bin/perl
use Date::Calc qw(Week_Number Week_of_Year);
@t=localtime;
$week = Week_Number($t[5]+1900,$t[4]+1,$t[3]); #Deprecated
print From
Neill == Neill Taylor [EMAIL PROTECTED] writes:
Neill Is their a way in PERL to covert a date to a week number
Neill Cheers
Neill Neill
Neill IMPORTANT NOTICE This email (including any
Neill attachments) is meant only for the intended recipient. It may
Neill also contain
Unfortunately, if the person is writing from work, the disclaimer is
likely required by his employer. I know that I have a similar one at work.
And not including it is grounds for termination stupid.
The only way around this is to use a personal email, like I do. But he may
need the help for
Except that John's boss is on the list too!
On Fri, 2004-01-23 at 14:37, John McKown wrote:
Unfortunately, if the person is writing from work, the disclaimer is
likely required by his employer. I know that I have a similar one at work.
And not including it is grounds for termination stupid.
On Fri, 23 Jan 2004, Levon Barker wrote:
Except that John's boss is on the list too!
No, my boss is not UNIX or even Windows literate. He is a BOSS, not a
GRUNT. He may, from years past, remember some COBOL (remember that?). If I
told him that I was on a Perl list, he would think that I was
Is their a way in PERL to covert a date to a week number
Cheers
Neill
IMPORTANT NOTICE This email (including any attachments) is meant only for the
intended recipient. It may also contain confidential and privileged information. If
you are not the intended
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 11:28 AM
To: [EMAIL PROTECTED]
Subject: Covert Date to week number
Is their a way in PERL to covert a date to a week number
Cheers
Neill
Date::Calc has what you're
Is their a way in PERL to covert a date to a week number
Sure , why not? You'd need to know the date format to start of course.
I don't mess with dates personally a lot so I'd say have
a look on search.cpan.org for a module to do that.
Also perldoc may be able to help you.
Sorry to be so
Check out Time::Local. It makes it easy to break down a formatted date
field and put it into Perl time format.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 11:28 AM
To: [EMAIL PROTECTED]
Subject: Covert Date to week number
, January 22, 2004 11:28
To: [EMAIL PROTECTED]
Subject: Covert Date to week number
Is their a way in PERL to covert a date to a week number
Cheers
Neill
IMPORTANT NOTICE This email (including any attachments) is meant only for the
intended recipient. It may also
10 matches
Mail list logo