Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: time difference in milliseconds

by Prior Nacre V (Hermit)
on Nov 05, 2004 at 16:02 UTC ( [id://405533]=note: print w/replies, xml ) Need Help??


in reply to time difference in milliseconds

You could convert to seconds and use the result for your calculations. The conversion is straightforward:

my ($h, $m, $s) = split /:/, $time; my $time_in_secs = $h * 60 * 60 + $m * 60 * $s;

Regards,

PN5

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://405533]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-05-18 04:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found