Try Time::HiRes to get the time difference via &tv_interval.
In reply to Re: Operations with strftime by parv in thread Operations with strftime by Anonymous Monk