data have;
input ID DOB :ddmmyy10.;
format dob ddmmyy10.;
cards;
1 09/07/2003
2 10/03/2004
3 08/08/2003
;
data want;
set have;
want =intnx('year',dob,-1,'s');
format want ddmmyy10.;
run;
data have;
input ID DOB :ddmmyy10.;
format dob ddmmyy10.;
cards;
1 09/07/2003
2 10/03/2004
3 08/08/2003
;
data want;
set have;
want =intnx('year',dob,-1,'s');
format want ddmmyy10.;
run;
Ready to join fellow brilliant minds for the SAS Hackathon?
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.