The exact amount of time it would take to travel from Earth to Uranus will depend on the type of travel, the speed of travel and the path chosen. For example, it took the Voyager 2 spacecraft about 9 years to travel near Uranus in 1986.
A specific amount of time to travel between these two planets is not possible because the distance between Earth and Uranus can vary. For example, the shortest distance between Earth and Uranus is 1.6 billion miles. The longest distance between these planets if 1.98 billion miles. Therefore, a spacecraft can choose one of many trajectory arcs to travel from Earth to Uranus.