Writes date values as the day of the week and the date in the
form day-of-week, month-name dd, yy
(or yyyy)
| Category: |
Date and Time
|
| Alignment: |
right
|
-
w
-
specifies the width of the output field.
The WEEKDATEw. format writes
SAS date values in the form day-of-week, month-name dd, yy (or yyyy),
where
-
dd
-
is an integer that represents the day of
the month.
-
yy or yyyy
-
is a two- or four-digit integer that represents
the year.
If w is too small to write
the complete day of the week and month, SAS abbreviates as needed.
The WEEKDATEw. format is the same
as the WEEKDATXw. format except that WEEKDATEXw. prints dd before the month's
name.
The example table uses the input value of 13589 which
is the SAS date value that corresponds to March 16, 1997.
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.