Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Timeleft subroutine

by dasgar (Deacon)
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.


Comment on Re: Timeleft subroutine
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 (Chaplain) 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.

    Bill

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2014-10-21 08:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (98 votes), past polls