Converts a SAS date value to the date value of the specified locale,
and then writes the value as the name of the month.
Category: |
Date and Time
|
Alignment: |
left
|
-
w
-
specifies the width of the output field.
If necessary, SAS abbreviates the name of the month to fit the format width.
NLDATEMNw. is similar to
MONNAMEw. except that NLDATEMNw. 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 month nldatemn.;
|
February
|
options locale=German_Germany;
put month nldatemn.;
|
Februar
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.