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
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 convert the string