If you want to become an expert programmer, be ready to spend at least 5 years of programming daily.
However, if you just want to learn the basics that will either get you a job or allow you to work on your projects, you can learn the skill of programming in less than 100 hours of practice.