If you don’t have prior coding experience, it took 5 months to learn Salesforce. The time to learn Salesforce can vary depending on the experience of the individual. If you want to learn Salesforce from scratch, you have to spend a minimum of 10hrs/week and it takes 5 months. If you have prior experience, you can learn Salesforce in 2-3 months at the same pace.
If you are interested to learn Salesforce from experienced instructors, I recommend this Salesforce Course by Intellipaat that provides Instructor-led training, hands-on projects, and certification.
Also, check out this video on Salesforce: