NLDATMMNw. Format

Converts the SAS datetime value to the datetime value of the specified locale, and then writes the value as the name of the month.
Category: Date and Time
Alignment: left

Syntax

NLDATMMNw.

Syntax Description

w
specifies the width of the output field.
Default:10
Range:4–200

Example

This example uses the en_US locale option.
Statements
Results
data _null_;
dt = datetime();
dy = date();
put "+--- NLDATEMN min=4 default=10 max=200 ---+";
put dt nldatmmn.;
put dt nldatmmn4.;
put dt nldatmmn10.;
put dt nldatmmn200.;
run;
+--- NLDATMMN min=4 default=10 max=200 ---+
October
Oct
October
October