楼主参考下这一段,希望你能用上
data _null_;
/* The following statement creates expected results. */
do i=0 to 34;
date1=intnx('month', '1jan2010'd, i, 'same');
put date1= yymmn6. ;
end;
run;
data _null_;
/* The following statement creates expected results. */
do i=0 to 34;
date1=intnx('month', '1jan2010'd, i, 'same');
put date1= yymmn6. ;
end;
run;
data _null_;
/* The following statement creates expected results. */
do i=0 to 34;
date1=intnx('month', '1jan2010'd, i, 'same');
put date1= yymmn6. ;
end;
run;