Features: |
|
Other features: |
proc format; picture mdy(default=8) other='%0d%0m%Y' (datatype=date); picture langtsda (default=50) other='%A, %d %B, %Y' (datatype=date); picture langtsdt (default=50) other='%A, %d,%B, %Y %H %M %S' (datatype=datetime); picture langtsfr (default=50) other='%A, %d %B, %Y %H %M %S' (datatype=datetime language=french); picture alltest (default=100) other='%a %A %b %B %d %H %I %j %m %M %p %S %w %U %y %%' (datatype=datetime); run;
option locale = de_DE;
data _null_ ; a= 18903; b = 1633239000; put a= mdy.; put a= langtsda.; put b= langtsdt.; put b= langtsfr.; put b= alltest.; run ;
proc format; picture mdy(default=8) other='%0d%0m%Y' (datatype=date); picture langtsda (default=50) other='%A, %d %B, %Y' (datatype=date); picture langtsdt (default=50) other='%A, %d,%B, %Y %H %M %S' (datatype=datetime); picture langtsfr (default=50) other='%A, %d %B, %Y %H %M %S' (datatype=datetime language=french); picture alltest (default=100) other='%a %A %b %B %d %H %I %j %m %M %p %S %w %U %y %%' (datatype=datetime); run;
b
when
it is formatted using the LANGTSFR format. The LANGSTSFR format prints
the datetime value in French.148 proc format; 149 picture mdy(default=8) other='%0d%0m%Y' (datatype=date); NOTE: Format MDY has been output. 150 picture langtsda (default=50) other='%A, %d %B, %Y' (datatype=date); NOTE: Format LANGTSDA has been output. 151 picture langtsdt (default=50) other='%A, %d,%B, %Y %H %M %S' (datatype=datetime); NOTE: Format LANGTSDT has been output. 152 picture langtsfr (default=50) other='%A, %d %B, %Y %H %M %S' (datatype=datetime 152! language=french); NOTE: Format LANGTSFR has been output. 153 picture alltest (default=100) 154 other='%a %A %b %B %d %H %I %j %m %M %p %S %w %U %y %%' (datatype=datetime); NOTE: Format ALLTEST has been output. 155 run; NOTE: PROCEDURE FORMAT used (Total process time): real time 0.01 seconds cpu time 0.00 seconds 156 157 option locale = de_DE ; 158 data _null_ ; 159 a= 18903; 160 b = 1633239000; 161 put a= mdy.; 162 put a= langtsda.; 163 put b= langtsdt.; 164 put b= langtsfr.; 165 put b= alltest.; 166 run ; a=03102011 a=Montag, 3 Oktober, 2011 b=Montag, 3,Oktober, 2011 5 30 0 b=Lundi, 3 octobre, 2011 5 30 0 b=Mo Montag Okt Oktober 3 5 5 276 10 30 AM 0 2 40 11 %