Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Difference in times (in minutes)

by insensate (Hermit)
on Dec 13, 2004 at 17:56 UTC ( [id://414490]=note: print w/replies, xml ) Need Help??


in reply to Difference in times (in minutes)

use Date::Calc qw(Delta_DHMS); $start_time = "16:54:23"; $end_time = "16:54:28"; @random=(2001,1,1); #Any value to allay the ymd filler push @end, @random, split/:/, $end_time; push @start, @random, split/:/, $start_time; @diff=Delta_DHMS(@start,@end); print join":",@diff[1..3];

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-03-29 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found