Depends on who your traveling companion is. If I'd taken my dog to Mars, for instance, I would not be lonely at all. If I'd taken my wife, OTOH, it would seem like an eternity.
How long will it seem sleeping on the floor with the dog for light years?