Depends on the person, but my friend who had no spanish exposure, moved to south america for work and after a year, he was able to have a basic conversation. After 1.5 years he was decent at talking and 2 years later, he was pretty good. And he didn't really practice much, other than taking spanish classes 2 times a week and using the spanish he learned to go to the market and do some basic errands. Thus, I'm going to guess that if you put in more time and more effort, it might take you less time to be fluent.