The time it takes for a spaceship or spacecraft to get from earth to mars is between 150 to 300 days.
It takes quite awhile to travel from the earth to mars and so it's not a very short trip.
If you think you've been on a long road trip than you would think your road trip is short because the journey from earth to mars is a very long one.
According to NASA it takes around 7 months from launch from earth to the time the spacecraft reaches mars.
Mars is a very long way from earth and if you go from earth to mars you should be prepared to ride in the spaceship for at least 7 months and then there's the time it takes to return to earth.
Being an astronaut can be fun but it's not for everyone.