Do you mean:
* How long does it take to travel from Earth to the Sun?
* How long does it take to travel from the Sun to Earth?
* How long does it take to travel from the Earth to another star?
Please clarify your question!