WORDDATXw. Format

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

Syntax

WORDDATXw.

Syntax Description

w

specifies the width of the output field.

Default 18
Range 3–32

Details

The WORDDATXw. format writes SAS date values in the form dd month-name, yyyy:
dd
is an integer that represents the day of the month. For days 1–9, the leading 0 is not displayed.
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.

Comparisons

The WORDDATXw. format is the same as the WORDDATEw. format except that WORDDATEw. prints dd after the month's name.

Example

The example table uses the input value of 19057, which is the SAS date value that corresponds to March 5, 2012.
SAS Statement
Result
 
----+----1----+----2
put term worddatx.; 
       5 March 2012

See Also