Question: how many years is to become a pilot?
Answer: Becoming a pilot does not require "calendar" time, but flight hours and exam completion. A private pilot license can be accomplished in as little time as 30 days. A fully qualified Airline Transport Rating with all the appropriate endorsements required to fly, (as an example) a B-747-400 would probably take 2 years.