adjusted millisecond subtraction for time