NLDATEWNw. Format

Converts the SAS date value to the date value of the specified locale, and then writes the date value as the day of the week.
Category: Date and Time
Alignment: left

Syntax

NLDATEWNw.

Syntax Description

w
specifies the width of the output field. If necessary, SAS abbreviates the day of the week to fit the format width.
Default:10
Range:4–200

Comparisons

NLDATEWNw. is similar to DOWNAMEw. except that NLDATEWNw. is locale-specific.

Example

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 date nldatewn.;
Monday
options locale=German_Germany;
put date nldatewn.;
Montag