Converts a SAS date value to the date value of the specified locale,
and then writes the date value as a date.
Category: |
Date and Time
|
Alignment: |
left
|
-
w
-
specifies the width of the output field.
If necessary, SAS abbreviates the date to fit the format width.
Default: |
20 |
Range: |
10-200 |
NLDATEw. is similar to DATEw. and WORDDATEw. except
that
NLDATEw. 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 day nldate.;
|
February 24, 2003
|
options locale=German_Germany;
put day nldate.;
|
24. Februar 2003
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.