Chapter Contents |
Previous |
Next |
WEEKDAYw. |
Category: | Date and Time |
Alignment: | right |
Syntax | |
Syntax Description | |
Details | |
Examples | |
See Also |
Syntax |
WEEKDAYw. |
Default: | 1 |
Range: | 1-32 |
Details |
The WEEKDAYw. format writes a SAS date value as the day of the week (where 1=Sunday, 2=Monday, and so on).
Examples |
The example table uses the input value of 15415, which is the SAS date value that corresponds to March 16, 2002.
SAS Statement | Results |
---|---|
----+----1 |
|
put date weekday.; |
7 |
See Also |
Format:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.