Converts a SAS date value to the date value of the specified locale,
and then writes the value as the date and the day of the week.
Category: |
Date and Time
|
Alignment: |
left
|
-
w
-
specifies the width of the output field.
If necessary, SAS abbreviates the date and the day of the week to fit the
format width.
Default: |
20 |
Range: |
10-200 |
NLDATEWw. is similar to WEEKDATEw. except that
NLDATEWw. 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----+----2
|
options locale=English_UnitedStates;
put date nldatew.;
|
Sun, Feb 24, 03
|
options locale=German_Germany;
put date nldatew.;
|
So, 24. Feb 03
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.