in reply to Timing a process

You can also try using the Date::Calc module. It allows you to do all sorts of date calculations.

Dean