changing time from ns to ms