According to the principles of special relativity, if a spaceship could travel at the speed of light (which is not possible for objects with mass), the experience for the astronauts would be different from what we might intuitively expect. Instead of perceiving everything else as frozen in time, they would experience a phenomenon known as time dilation.
Time dilation refers to the effect of time passing at different rates for objects moving relative to each other at high speeds. As an object's velocity approaches the speed of light, time slows down for that object relative to a stationary observer.
From the perspective of the astronauts on a spaceship traveling at the speed of light (again, a hypothetical scenario), time would appear to pass normally for them. They would perceive events on the spaceship as occurring at a normal rate. However, from the perspective of an outside observer who is stationary, time on the spaceship would appear to slow down.
As the spaceship approaches the speed of light, the time dilation effect becomes more significant. If the spaceship were able to reach the speed of light, time dilation would become infinite, and from the perspective of the stationary observer, time on the spaceship would appear to stop completely.
It's important to note that this scenario is purely theoretical as objects with mass cannot reach or exceed the speed of light. The principles of special relativity provide insights into how time behaves near the speed of light, but they do not allow for actual travel at that speed for objects with mass.