How long in vegetative stage
Inside growers can keep their plant in a veg stage for as long as they desire. Most growers have a general height they want to get out of their plants and with some background knowledge on the strain they can guess the final height pretty easily. 3-4 weeks is the usual veg period.
When growing outside the season/time planted will decide how long vegetation lasts and the plant will naturally switch over.