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.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.