It is a step in the right direction. Below is the example. m - integer number of month converted to "X years Y month".
50 4 years 2 months 51 4 years 3 months ... 58 4 years 10 months 59 4 years 11 months 60 5 years 0 months
data m_to_ym;
do m=1 to 60;
result = catx(' ', floor(m/12), 'years', m - floor(m/12)*12, 'months');
output;
end;
run;
... View more