Previous Page | Next Page

Formats

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
Syntax Description
Details
Comparisons
Examples
See Also

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, 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.

Comparisons

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


Examples

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


See Also

Format:

WORDDATEw. Format

Previous Page | Next Page | Top of Page