John wrote:
hello all
Hello,
i am wondering a there is a module that do comparisons
between two different datetime stamps
for example
2/4/2005:15:20:20 and 4/4/2005:12:09:23
which date is bigger (namely earliest)
Probably the easiest way is to convert them to comparable strings:
my ( $date1, $date2
From: Peter Rabbitson <[EMAIL PROTECTED]>
To: beginners@perl.org
Date: Tuesday, April 5, 2005, 5:03:09 PM
Subject: datetime comparisons
Tuesday, April 5, 2005, 5:03:09 PM, you wrote:
> On Tue, Apr 05, 2005 at 04:12:31PM +0300, John wrote:
>> hello all
>>
>>
On Tue, Apr 05, 2005 at 04:12:31PM +0300, John wrote:
> hello all
>
> i am wondering a there is a module that do comparisons
> between two different datetime stamps
>
> for example
>
> 2/4/2005:15:20:20 and 4/4/2005:12:09:23
>
> which date is bigger (namely earliest)
>
I was down this road so
Subject: datetime comparisons
hello all
i am wondering a there is a module that do comparisons
between two different datetime stamps
for example
2/4/2005:15:20:20 and 4/4/2005:12:09:23
which date is bigger (namely earliest)
You may wish to look at "Time::Local". This will c
hello all
i am wondering a there is a module that do comparisons
between two different datetime stamps
for example
2/4/2005:15:20:20 and 4/4/2005:12:09:23
which date is bigger (namely earliest)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]