in june 1971 cosmonauts georgi dobrovolski , vladislav volkov , and viktor patsayev occupied spaceships for 23 day , setting a new record for the longest humans gagarin .
23 days is the record for the longest stay in space by a human.