converted duration to milliseconds from microseconds