Previous Page | Next Page

Formats for NLS

NLDATEMNw. Format



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

Syntax
Syntax Description
Comparisons
Examples
See Also

Syntax

NLDATEMNw.


Syntax Description

w

specifies the width of the output field. If necessary, SAS abbreviates the name of the month to fit the format width.

Default: 10
Range: 4-200

Comparisons

NLDATEMNw. is similar to MONNAMEw. except that NLDATEMNw. is locale-specific.


Examples

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


See Also

Formats:

NLDATEw. Format

NLDATEWw. Format

NLDATEWNw. Format

Previous Page | Next Page | Top of Page