Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: time difference in milliseconds

by Prior Nacre V (Hermit)
on Nov 05, 2004 at 16:02 UTC ( #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? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2022-05-28 21:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?