Chapter Contents

Previous

Next
WORDDATXw.

WORDDATXw.



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 15595, which is the SAS date value that corresponds to September 12, 2002.

SAS Statement Results

----+----1----+----2
put term worddatx.; 
 12 September 2002


See Also

Format:

WORDDATEw.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.