Convert duration1/2 to ms just like startTime