Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 musing on the Monastery: (14)
As of 2015-07-07 14:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (89 votes), past polls