SAS tips which I keep forgetting :)
data ex;
input startd endd;
datalnes;
20180312 20180430
;
proc sql;
select startd, endd, input(put(endd,8.),yymmdd8.) - input(put(startd,8.),yymmdd8.)
from ex
;quit;
Post a Comment
No comments:
Post a Comment