The word "year" is "año" in Spanish.
The expression to say how old you are or a material object is in Spanish is "tener ____ años".If you literally want to translate "years old" into Spanish, this would be "años de vejez", but this is nonsense to any Spanish speaker.
Cuarenta años
i am 41 years old
You can say "Tengo cinco años".
You would say, "Tengo siete años."
cien años
Cuántos años tienes?
años de edad
Years are something you own in Spanish, so you say "I have ____ years" For 20, the sentence is, "Tengo veinte anos" Pronunciation: Tayhn-go vayhn-tay anyoes
It means years. For example if you want to say 20 years old you say 20 años.
Mil doscientos cuarenta y cinco. Excuse me if I misspelled it but that's how you say It. Source: two years of Spanish.
"He estudiado español durante tres años"