code: def ms_to_times(ms):
      
      ms = int(round(ms))
      h, ms = divmod(ms, 3600000)
      m, ms = divmod(ms, 60000)
      s, ms = divmod(ms, 1000)
      return Times(h, m, s, ms)
docs: Convert milliseconds to normalized tuple (h, m, s, ms).
      
      Arguments:
          ms: Number of milliseconds (may be int, float or other numeric class).
              Should be non-negative.
      
      Returns:
          Named tuple (h, m, s, ms) of ints.
          Invariants: ``ms in range(1000) and s in range(60) and m in range(60)``