The solar system, including all the planets, takes approximately 225-250 million years to complete one orbit around the center of the Milky Way galaxy. This period of time is often referred to as a "galactic year" or "cosmic year." However, it is important to note that the concept of a year, as we commonly understand it on Earth, does not directly apply to the entire solar system since each planet has its own orbital period around the Sun.
In terms of the Earth's orbit around the Sun, which is the basis for our calendar year, it takes about 365.25 days (or roughly 1 year) for Earth to complete one orbit. This duration is the reason we have leap years every four years to account for the extra quarter of a day, creating an average of 365.25 days per year.