Converts the SAS date value to the date value of the specified
locale, and then writes the date value as the day of the week.
Category: |
Date and Time
|
Alignment: |
left
|
-
w
-
specifies the width of the output field.
If necessary, SAS abbreviates the day of the week to fit the format width.
NLDATEWNw. is similar to
DOWNAMEw. except that NLDATEWNw. is locale-specific.
These examples use the input value of 15760, which is the SAS date value
that corresponds to February 24, 2003.
Statements |
Results |
|
----+----1
|
options locale=English_UnitedStates;
put date nldatewn.;
|
Sunday
|
options locale=German_Germany;
put date nldatewn.;
|
Sonntag
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.