Previous Page | Next Page

Formats for NLS

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
Syntax Description
Examples

Syntax

NLDATMMNw.

Syntax Description

w

specifies the width of the output field.

Default: 10
Range: 4-200

Examples

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

Previous Page | Next Page | Top of Page