For a 24-year-old person, he will generally finish his undergraduate education at around 22 years old, or finish his junior college education at 2 1 year old.
Therefore, if an undergraduate is 24 years old, then this person has graduated from school for 2 years. If a junior college student is 24 years old, then this person has graduated from school for 3 years.