Hi!
My data looks like : start_date 04feb2004
End_daye 15mar2005
I need to extract those records within 01jan2004 and 15apr2005 date range
DATA myfile;
Enroll =datepart(Start_Date)-datepart(End_Date);
if '01jan04'd le Enroll le '15apr05'd then output enrollyes;
else output enrollno;
run;
I have 0 observations however! Although there is a lot of them by all means…
What am I doing wrong?
Thans,
Irin
My data looks like : start_date 04feb2004
End_daye 15mar2005
I need to extract those records within 01jan2004 and 15apr2005 date range
DATA myfile;
Enroll =datepart(Start_Date)-datepart(End_Date);
if '01jan04'd le Enroll le '15apr05'd then output enrollyes;
else output enrollno;
run;
I have 0 observations however! Although there is a lot of them by all means…
What am I doing wrong?
Thans,
Irin