in reply to Time calculations

Look at Time::HiRes module for milliseconds.