Need assistance finding DOB with a start date and age. Also has to include a do loop.
Age is 40.
Start date is February 15, 2001.
My script so far:
data birth;
Age = 40;
Start = '15Feb2001'd;
Bday=Start-Age;
do Age = 1 to 90 until (Start lt '15Feb2001'd);
output;
end;
run;
proc print data=birth;
format Start Bday mmddyy10.;
run;
... View more