Hi everyone, I created this macro: %macro date_loop(start,end); %let start=%sysfunc(inputn(&start,anydtdte9.)); %let end=%sysfunc(inputn(&end,anydtdte9.)); %let dif=%sysfunc(intck(week.2,&start,&end)); %do i=0 %to &dif; %let date=%sysfunc(intnx(week.2,&start,&i,b),date9.); %put &date; %end; %mend date_loop; %date_loop(29sep2019,30mar2020) But in my skript I need to countinue with the following format: 'ddmmmyyyy'd I tried to create the marco above in the format 'ddmmmyyyy'd, but it did not work. Has someone an idea how to change the format within the macro or afterwards? Thank you!
... View more