Well, difficult to say, since it depends on several factors like, financial situation, time available, motivation, personality/capability, location/weather, flight school, instructor etc. In an ideal scenario (meaning full time training) it can be done in 6 month or even less, but be aware, don't take this as a general guide line! If your time and/or budget is limited it'll take longer.
Hope I could help, good luck!