Re: diff between time1 and time2
You can also use the Date-Calc module
This is a good little quickstart for it:
http://iis1.cps.unizar.es/Oreilly/perl/cookbook/ch03_06.htm
On Wed, 10 Sep 2003 19:41:20 -0700, Purl Gurl <purlgurl [at] purlgurl.net>
wrote:
>Bob wrote:
>
>(snipped)
>
>> Best way to know elapsed time on Windows system.
>
>> have $time1 and $time2 and need to know elapsed time between ....
>> $time1 = 10:23:15 AM;
>> $time2 = 10:23:45 AM;
>
>
>Be cautious about using Time High Resolution. Most of the
>features of the Hi Res module are not supported on Win32.
>
>Beneath my signature is an easy timing method based on
>system ticks since last boot. Resolution, for typical
>applications, is good to ten milliseconds.
>
>This example exemplifies accuracy using a five-hundred
>millisecond pseudo sleep. Results are very consistent.
>
>Conversion to seconds, minutes, even hours, requires
>nothing more than simple arithmetic.
>
>Usage includes timing code snippets, timing routines,
>timing system calls, virtually anything you want.
>
>
>Purl Gurl
-----------------------------------
"Integrity is doing the right thing,
even if nobody is watching."
-----------------------------------
"Normally we do not so much
look at things as overlook them."
Re: diff between time1 and time2
"Michael Wendel" <mwendel [at] cordsel.com> wrote in message
news:9i15o09upqnqf89le6dpmdn592ibrs3fg7 [at] 4ax.com...
> You can also use the Date-Calc module
>
> This is a good little quickstart for it:
> http://iis1.cps.unizar.es/Oreilly/perl/cookbook/ch03_06.htm
>
Please do not post links to stolen material here.
Matt
Re: diff between time1 and time2
Didn't realize it was considered stolen. Just showed up in the Google
search results, I'll pay more attention next time.
On Fri, 29 Oct 2004 16:57:47 -0400, "Matt Garrish"
<matthew.garrish [at] sympatico.ca> wrote:
>
>"Michael Wendel" <mwendel [at] cordsel.com> wrote in message
>news:9i15o09upqnqf89le6dpmdn592ibrs3fg7 [at] 4ax.com...
>> You can also use the Date-Calc module
>>
>> This is a good little quickstart for it:
>> http://iis1.cps.unizar.es/Oreilly/perl/cookbook/ch03_06.htm
>>
>
>Please do not post links to stolen material here.
>
>Matt
>
-----------------------------------
"Integrity is doing the right thing,
even if nobody is watching."
-----------------------------------
"Normally we do not so much
look at things as overlook them."
Re: diff between time1 and time2
"Michael Wendel" <mwendel [at] cordsel.com> wrote in message
news:f5uco052qe8606t7umoml4baq6tvpag5q5 [at] 4ax.com...
> Didn't realize it was considered stolen. Just showed up in the Google
> search results, I'll pay more attention next time.
>
If you find O'Reilly books on the net (other than on their site, of course),
chances are good they've been pirated by someone.
Matt