Can anyone think of a good way for me to find out what the date of last
sunday is with perl? I'm writing a script that will need to do some
basic reporting starting from the previous sunday.
I'm usign the date format -MM-DD
Any help appreciated!
Thanks,
rory
--
To unsubscribe, e-mail:
On Mar 20, rory oconnor said:
>Can anyone think of a good way for me to find out what the date of last
>sunday is with perl? I'm writing a script that will need to do some
>basic reporting starting from the previous sunday.
>
>I'm usign the date format -MM-DD
I suggest the standard Time::Lo
The Date::Manip module can do almost anything you can think of with dates:
http://search.cpan.org/doc/SBECK/DateManip-5.40/Manip.pod
Have fun,
Matt
--- rory oconnor <[EMAIL PROTECTED]> wrote:
> Can anyone think of a good way for me to find out what the date of last
> sunday is with perl? I'm
Jeff,
One quick question...since I want to run this every week, will that part
here you hard-coded today's date need to be changed to be dynamic?
thanks,
rory
On Wed, 2002-03-20 at 22:30, Jeff 'japhy' Pinyan wrote:
> On Mar 20, rory oconnor said:
>
> >Can anyone think of a good way for me to
On Mar 20, rory oconnor said:
>On Wed, 2002-03-20 at 22:30, Jeff 'japhy' Pinyan wrote:
>> On Mar 20, rory oconnor said:
>>
>> >Can anyone think of a good way for me to find out what the date of last
>> >sunday is with perl? I'm writing a script that will need to do some
>> >basic reporting star
Sun:2002-03-17
Wags ;)
-Original Message-
From: rory oconnor [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 20:12
To: perl
Subject: Finding the date of last sunday
Can anyone think of a good way for me to find out what the date of last
sunday is with perl? I'm writing a
At 10:11 PM 3/20/02 -0600, rory oconnor wrote:
>Can anyone think of a good way for me to find out what the date of last
>sunday is with perl? I'm writing a script that will need to do some
>basic reporting starting from the previous sunday.
>
>I'm usign the date format -MM-DD
$ perl -MDate::
Rory Oconnor wrote:
>
> Can anyone think of a good way for me to find out what the date of last
> sunday is with perl? I'm writing a script that will need to do some
> basic reporting starting from the previous sunday.
>
> I'm usign the date format -MM-DD
$ perl -le'use Time::Local;
( $yea
> "Matt" == Matt C <[EMAIL PROTECTED]> writes:
Matt> The Date::Manip module can do almost anything you can think of with dates:
Matt> http://search.cpan.org/doc/SBECK/DateManip-5.40/Manip.pod
Just beware of what I said last year in comp.lang.perl.modules:
> "Ilya" == Ilya Martynov <
At 07:30 AM 3/21/02 -0800, Randal L. Schwartz wrote:
> > "Matt" == Matt C <[EMAIL PROTECTED]> writes:
>
>Matt> The Date::Manip module can do almost anything you can think of with
>dates:
>Matt> http://search.cpan.org/doc/SBECK/DateManip-5.40/Manip.pod
>
>Just beware of what I said last year i
10 matches
Mail list logo