Make a folder with ISO date and time in SAS

The code below makes a folder with an ISOdate.

%let ISOdt  = %sysfunc(datetime(), B8601DT.);

data _null_;
 rc = system("mkdir c:\test\&ISOdt.");
 put rc=;
run;

 

Leave a Reply

Your email address will not be published. Required fields are marked *