Finding the date of last sunday

2002-03-20 Thread rory oconnor
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:

Re: Finding the date of last sunday

2002-03-20 Thread Jeff 'japhy' Pinyan
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

Re: Finding the date of last sunday

2002-03-20 Thread Matt C.
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

Re: Finding the date of last sunday

2002-03-20 Thread rory oconnor
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

Re: Finding the date of last sunday

2002-03-20 Thread Jeff 'japhy' Pinyan
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

RE: Finding the date of last sunday

2002-03-20 Thread Wagner-David
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

Re: Finding the date of last sunday

2002-03-20 Thread Peter Scott
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::

Re: Finding the date of last sunday

2002-03-21 Thread John W. Krahn
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

Re: Finding the date of last sunday

2002-03-21 Thread Randal L. Schwartz
> "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 <

Re: Finding the date of last sunday

2002-03-21 Thread Peter Scott
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