Hello team,
what is the role of "n"?
Regards,
blue blue
indicates no separator
https://documentation.sas.com/doc/en/vdmmlcdc/8.1/ds2ref/n02pxkowzaiavfn1lwe6v95ps5pg.htm
a=put(18922,yymmddn8.); |
20111022 |
indicates no separator
https://documentation.sas.com/doc/en/vdmmlcdc/8.1/ds2ref/n02pxkowzaiavfn1lwe6v95ps5pg.htm
a=put(18922,yymmddn8.); |
20111022 |
This is one where I am tempted to say: "Nothing. On purpose".😈
Computer programming in general is a great environment to answer questions by just trying something, as in:
data _null_;
d=today();
put d=date9.;
put d=yymmdd8.;
put d=yymmdds8.;
put d=yymmddn8.;
run;
Looking at the log provides an answer.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.