I do not have the answer to this question because your learning traits and learning history related to forex is different. It will take time, but no one can tell you how much time you will take exactly to learn about the forex market. So it is the quality of time you spend and not quantity. Quantity is necessary, but quality is what is important.
If someone takes one year to learn about forex and starts to earn profits consistently, it means that this person has spent quality time learning about the forex market.
But someone took two years to learn about the forex market, and this person is suffering loss after loss. This indicates that this person was concerned about time and not the quality of time spent on learning about forex.
I hope this answers your query.