The symbol for the year is $\mathrm {yr}$ or $\mathrm y$.
In some scientific contexts $\mathrm a$ (for annus, Latin for year) is used.
The $\LaTeX$ code for \(\mathrm {yr}\) is \mathrm {yr} .
\mathrm {yr}
The $\LaTeX$ code for \(\mathrm y\) is \mathrm y .
\mathrm y