Three-year missions were a type of long-term exploratory missions conducted by Starfleet.
The USS Excelsior under the command of Captain Hikaru Sulu was sent on a three-year mission from 2290 to 2293. Their mission was to catalogue gaseous planetary anomalies in the Beta Quadrant. (Star Trek VI: The Undiscovered Country)