Time function MDY( )

data x;
/*first=download_date=MDY(&x_month,&x_day,&x_year);*/
first=mdy(9,2,2012);
last=mdy(5,15,2013);
count=last-first;
run;
proc print;run;