741 proc format;
742 value mydate 0,1=[1.] other=[date9.];
NOTE: Format MYDATE is already on the library WORK.FORMATS.
NOTE: Format MYDATE has been output.
743 run;
NOTE: PROCEDURE FORMAT used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
744 data _null_;
745 do x=-1 to 2,today();
746 put x= comma7. +1 x=mydate9.;
747 end;
748 run;
x=-1 x=31DEC1959
x=0 x=0
x=1 x=1
x=2 x=03JAN1960
x=21,746 x=16JUL2019
Ready to join fellow brilliant minds for the SAS Hackathon?
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.