Writes date values as the day, the name of the month, and the
year in the form dd month-name yyyy.
Category: |
Date and Time
|
Alignment: |
right
|
-
w
-
specifies the width of the output field.
The WORDDATXw.
format writes SAS date values in the form dd month-name, yyyy, where
-
dd
-
is an integer that represents the day of
the month.
-
yyyy
-
is a four-digit integer that represents
the year.
If the width is too small to
write the complete month, SAS abbreviates as necessary.
The WORDDATXw.
format is the same as the WORDDATEw. format except
that WORDDATEw. prints dd
after the month's name.
The example table uses the input value of 16500, which
is the SAS date value that corresponds to March 5, 2005.
SAS Statement |
Results |
|
----+----1----+----2
|
put term worddatx.;
|
05 March 2005
|
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.