⨳ the VVALUE function--like a quick PUT function ⨳

April 25, 2011

for example…

data temp;
    format d yyq6.;
    d='19Apr2011'd;
    x=vvalue(d);
run;
proc print; run;
proc contents; run;

from the output window

Obs         d      x
1     2011Q2    2011Q2

#    Variable    Type    Len    Format
1    d           Num       8    YYQ6.
2    x           Char    200

the VVALUE function--like a quick PUT function - April 25, 2011 -