Hello
I received the formula for age in months calculation for SAS but want to convert to the reporting software I'm using (Crystal). However, I don't know what the SAS code is "doing" so if someone could advise I'd appreciate it.
The code is:
age_mths=floor((intck('month',birth_date,date_of_registration)-(day(date_of_registration)<day(birth_date))));
Thanks.
I received the formula for age in months calculation for SAS but want to convert to the reporting software I'm using (Crystal). However, I don't know what the SAS code is "doing" so if someone could advise I'd appreciate it.
The code is:
age_mths=floor((intck('month',birth_date,date_of_registration)-(day(date_of_registration)<day(birth_date))));
Thanks.