Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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.


Comment on Re: Timeleft subroutine
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 (Deacon) 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 lurking in the Monastery: (15)
As of 2015-07-30 09:02 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 (270 votes), past polls