NLDATMYMw. Format

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

Syntax

NLDATMYMw.

Syntax Description

w
specifies the width of the output field.
Default:16
Range:6–200

Example

This example uses the en_US locale option.
Statement
Result
options locale=en_US;
data_null;
x=put(86400,nldatmym.);
y=put(86400,nldatmym12.);
put x=;
put y=;
run;
January 1960
January 1960

See Also