Generally speaking, it is 2 years from your discharge date to be eligible.
If you've been proactive with rebuilding your credit, you'll likely qualify for a loan now.
Most lenders are using a minimum 640 credit score to qualify, so keep that in mind.
If you want some loan advice and seek a referral, feel free to email me or look me up and I will point you in the right direction.
Enjoy your weekend!