It depends on what software you study, because NC programming software includes UG, mastercam and powermill.
Each software has different commands and different learning time.
My experience is that UG takes three months, mastercam takes two months and powermill should take three months anyway.
I hope I can help you.