It depends on your capability , like how calm and composed you can be at different set of events and how fast you would be willing to adapt the nature of market. Generally speaking you should give atleast 2 years minimum to grasp the overall concept of stock market.