What is the minium of time for army enlistment?

Minimum enlistment contract is 2 years plus training time