Updated duration division to use a constant for representing nanseconds per millisecond.