The ideal time required is 2-3 years of a full-time course. However, you can also opt for workshops and boot camps that last for a shorter period.