Chapter Contents |
Previous |
Next |
WEEKDATEw. |
Category: | Date and Time |
Alignment: | right |
Syntax | |
Syntax Description | |
Details | |
Comparisons | |
Examples | |
See Also |
Syntax |
WEEKDATEw. |
Default: | 29 |
Range: | 3-37 |
Details |
The WEEKDATEw. format writes SAS date values in the form day-of-week, month-name dd, yy (or yyyy), where
Comparisons |
Examples |
The example table uses the input value of 15415 which is the SAS date value that corresponds to March 16, 2002.
SAS Statements | Results |
---|---|
----+----1----+----2 |
|
put date weekdate3.; |
Sat |
put date weekdate9.; |
Saturday |
put date weekdate15.; |
Sat, Mar 16, 02 |
put date weekdate17.; |
Sat, Mar 16, 2002 |
See Also |
Formats:
| |||||||||||||
Functions:
| |||||||||||||
Informats:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.