Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Timeleft subroutine

by dasgar (Priest)
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 (Vicar) 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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2018-01-21 02:00 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (227 votes). Check out past polls.