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

Re: figuring difference in times?

by rjbs (Pilgrim)
on Aug 20, 2005 at 20:09 UTC ( #485428=note: print w/ replies, xml ) Need Help??

in reply to figuring difference in times?

I'd just use Time-Duration. You give it a number of seconds (like the difference between two time() results) and it can tell you that it was "four years, six months, and two hours ago" for example. DateTime is neat, but using it just for this strikes me as nuts.


Comment on Re: figuring difference in times?
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2015-07-28 22:10 GMT
Find Nodes?
    Voting Booth?

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

    Results (259 votes), past polls