in reply to Time Formatting....

perldoc -f localtime

After getting difference in time() values, use the list output of localtime to make up the days, hours, minutes,seconds, etc. The year will be in 1970 or some such, but given your problem description, I think you just ignore that. Not tested, but ought to work.

--Bob Niederman, http://bob-n.com

Replies are listed 'Best First'.
Re: Re: Time Formatting....
by Zaxo (Archbishop) on Aug 04, 2003 at 06:10 UTC

    For that to be convenient, you need to convert to UTC by adding your std TZ offset times 3600 sec/hour.

    After Compline,
    Zaxo