Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: DIfference in days hours and second between dates

by poj (Prior)
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1038785]
help
Chatterbox?
[Cosmic37]: you are right $mydt did not contain what I expected... :-D I will now think :-D
[Cosmic37]: crunch...grind... whirr...gnashing metal crunching cogs...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2017-06-29 17:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (673 votes). Check out past polls.