RE: Comparing dates

2005-10-31 Thread Wagner, David --- Senior Programmer Analyst --- WGO
    Use timelocal and generate the time and then do the calculations for days.       Something like:       # format for timelocal is   #    seconds, minutes, hour, day of mohth, month minus 1 and year (best format number of years since 1900)   # Following is just what you would do and you wou

RE: Comparing dates

2005-10-31 Thread Charles K. Clarkson
[EMAIL PROTECTED] <> wrote: : Gurus, : : A simple one: what's the best, quickest, way to get the difference : between two dates. They're both in the same format: "MMDD". One : of them gets ginned up into that format starting from a call to time : (that is, $x = time; stuff happens to $x; $y en

Re: Comparing dates

2005-10-31 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: > > Gurus, > > A simple one: what's the best, quickest, way to get the difference > between two dates. They're both in the same format: "MMDD". One of > them gets ginned up into that format starting from a call to time (that > is, $x = time; stuff happens to $x; $y e

Comparing dates--correction

2005-10-31 Thread Deane . Rothenmaier
Gurus, Sorry, don't know my own code! A simple one: what's the best, quickest, way to get the difference between two dates. They're both in the same format: "MMDD". One of them gets ginned up into that format starting from a call to localtime (that is, @x = localtime; stuff happens to @x; $y

RE: Comparing dates

2005-10-31 Thread Brian Raven
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 31 October 2005 17:08 To: activeperl@listserv.ActiveState.com Subject: Comparing dates > Gurus, > A simple one: what's the best, quickest, way to get the difference between two dates. They're

Comparing dates

2005-10-31 Thread Deane . Rothenmaier
Gurus, A simple one: what's the best, quickest, way to get the difference between two dates. They're both in the same format: "MMDD". One of them gets ginned up into that format starting from a call to time (that is, $x = time; stuff happens to $x; $y ends up "20051031";), the other's read in