Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: DIfference in days hours and second between dates

by poj (Priest)
on Jun 13, 2013 at 16:08 UTC ( #1038785=note: print w/ replies, xml ) Need Help??


in reply to DIfference in days hours and second between dates

I would check the today parameter, this gives your results

print timeDiff('','0000-00-13 17:25:34','2013-07-03 00:00:00');
poj


Comment on Re: DIfference in days hours and second between dates
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2014-11-28 15:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (198 votes), past polls