Re: diff between time1 and time2

Re: diff between time1 and time2

am 29.10.2004 20:05:50 von Michael Wendel

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
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

am 29.10.2004 22:57:47 von Matt Garrish

"Michael Wendel" wrote in message
news:9i15o09upqnqf89le6dpmdn592ibrs3fg7@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

am 01.11.2004 18:56:39 von Michael Wendel

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"
wrote:

>
>"Michael Wendel" wrote in message
>news:9i15o09upqnqf89le6dpmdn592ibrs3fg7@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

am 02.11.2004 01:19:18 von Matt Garrish

"Michael Wendel" wrote in message
news:f5uco052qe8606t7umoml4baq6tvpag5q5@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