Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Timeleft subroutine

by dasgar (Curate)
on Aug 29, 2012 at 20:34 UTC ( #990557=note: print w/replies, xml ) Need Help??

in reply to Timeleft subroutine

For data and time calculations, I've found that Date::Calc has been able to meet my needs. In your case, Delta_DHMS or Delta_YMDHMS might the functions from Date::Calc would probably be what you're looking for.

Replies are listed 'Best First'.
Re^2: Timeleft subroutine
by robertw (Sexton) on Aug 29, 2012 at 20:45 UTC
    Thanks everyone:), I downloaded Date::Calc, I have been looking for one like that, I could use philip brenan's version of timeleft very well.
Re^2: Timeleft subroutine
by BillKSmith (Priest) on Aug 30, 2012 at 03:59 UTC

    Date::Calc is almost always overkill, but I also always use it for all date/time work because it always seems to have the functions that I need.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2016-10-23 21:32 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (302 votes). Check out past polls.