Hi all,
In article
<[EMAIL PROTECTED]>, Rob
Hanson wrote:
> There are lots of ways to do this, but I usually use the Date::Parse
> module. It converts a date string into seconds (seconds since 1/1/1970).
>
> use Date::Parse;
>
> my $hour = 3600; # 1 hour = 3600 seconds
>
> my $t1 = str2time("1
Hi,
I have the following
12/08/2003, 11:00
13/08/2003, 23:00
Now I would like to compare them and then calculate the how long time was
elapsed in terms of hours.
For the example above it will return 36 hours.
I don't know if there is a module that do that or a function or we just have
to progra
On Mon, Aug 11, 2003 at 10:25:07PM +0200, awards wrote:
> Hi,
>
> thank you, Now i have a new question.
> If I do the code myself which I can do.
> would the process of executing the program faster if I do the code myself or
> if I use a Module i.e Date::Calc??
>
> regards
> awards
There is a s
On Wed, Aug 13, 2003 at 09:35:20PM -0700, R. Joseph Newton wrote:
> David Storrs wrote:
>
> > On Mon, Aug 11, 2003 at 10:25:07PM +0200, awards wrote:
[snip]
> > > would the process of executing the program faster if I do the code myself or
> > > if I use a Module i.e Date::Calc??
> >
[snip answer
11, 2003 2:24 PM
To: [EMAIL PROTECTED]
Subject: compare date,time
Hi,
I have the following
12/08/2003, 11:00
13/08/2003, 23:00
Now I would like to compare them and then calculate the how long time was
elapsed in terms of hours.
For the example above it will return 36 hours.
I don't know
David Storrs wrote:
> On Mon, Aug 11, 2003 at 10:25:07PM +0200, awards wrote:
> > Hi,
> >
> > thank you, Now i have a new question.
> > If I do the code myself which I can do.
> > would the process of executing the program faster if I do the code myself or
> > if I use a Module i.e Date::Calc??
>
> Hi,
Howdy
>
> I have the following
>
> 12/08/2003, 11:00
>
> 13/08/2003, 23:00
> Now I would like to compare them and then calculate the how
> long time was elapsed in terms of hours. For the example
> above it will return 36 hours.
>
> I don't know if there is a module that do that or a
> -Original Message-
> From: awards [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 11, 2003 2:24 PM
> To: [EMAIL PROTECTED]
> Subject: compare date,time
>
>
> Hi,
>
> I have the following
>
> 12/08/2003, 11:00
>
> 13/08/2003, 23:00
&
Hi,
thank you, Now i have a new question.
If I do the code myself which I can do.
would the process of executing the program faster if I do the code myself or
if I use a Module i.e Date::Calc??
regards
awards
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL