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 (Monsignor) 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