Again, it depends on what your intended outcomes are and how much time you dedicate to it. If you agree to practice each day (and practice well) and learn the fundamentals before moving to songs and more advanced techniques, you'll likely learn your way to intermediate levels in a few months. After that, it really depends on where you want to take your guitar playing. Some things - like advanced fingerstyle or solo improvisation - can take years to perfect.