On Jan 20, Mallik said:
>How to calculate the Day of the week for a given date
>in PERL.
>
>Please provide me any code available that doesn't require
>any other modules to be installed.
You can do it with the standard module Time::Local. You already have
this; it doesn
On Tue, 20 Jan 2004 13:36:39 +0530
"Mallik" <[EMAIL PROTECTED]> wrote:
> Dear Friends,
>
> How to calculate the Day of the week for a given date
> in PERL.
>
> Please provide me any code available that doesn't require
> any other modules to be ins
Dear Friends,
How to calculate the Day of the week for a given date
in PERL.
Please provide me any code available that doesn't require
any other modules to be installed.
Thanks in advance,
Mallik.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
PROTECTED]
Sent: Monday, August 18, 2003 9:57 AM
To: perl beginners
Subject: Day of the week
Can someone please point me to the right module for getting the name of a
specified day.
e.g.
I say 'year:2003 month:5 day:23'
I get 'Friday'
Thanks
Nigel
MIS Web Design
http://
Can someone please point me to the right module for getting the name of a specified
day.
e.g.
I say 'year:2003 month:5 day:23'
I get 'Friday'
Thanks
Nigel
MIS Web Design
http://www.miswebdesign.com/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECT
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 25, 2001 4:33 PM
> To: [EMAIL PROTECTED]
> Subject: Convert date mmddyy to day of the week
>
>
> I want to convert a date in the format mm/dd/yy to the day of
>
TECTED]
Subject: RE: Convert date mmddyy to day of the week
Here is a shot.
Take the date in splitting on 2 digits and / if there
Print number of items in array
Setup a Days array
Use timelocal at noon to get total seconds
Run seconds thru localtime
format mm/dd/, day of week number and day
of the week
Wags ;)
=
#!perl -ws
use Time::Local;
my $Dates = '07/25/01';
my @DateUse = ();
while ( $Dates =~ /(\d{2}){1}\/*/g ) {
pri
I want to convert a date in the format mm/dd/yy to the day of the week. For
example 07/25/01 should become Wednesday.
Thanks
John
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]