WORDDATEw. Format
Writes date values as the name of the month, the
day, and the year in the form month-name dd, yyyy.
Category: |
Date and Time |
Alignment: |
right |
Syntax
Syntax Description
- w
-
specifies the width
of the output field.
Details
The WORDDATE
w. format writes SAS date values in the form
month-name dd,
yyyy:
is an integer that
represents the day of the month.
is a four-digit integer
that represents the year.
If the width is too
small to write the complete month, SAS abbreviates as necessary.
Comparisons
The WORDDATE
w. format is the same as the WORDDATX
w. format except that WORDDATX
w. prints
dd before the month's name.
Example
The example table uses
the input value of 19158, which is the SAS date value that corresponds
to June 14, 2012.
|
|
|
|
|
----+----1----+----2 June
|
|
|
|
----+----1----+----2 June 14, 2012
|