NLDATEWw. Format

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

Syntax

NLDATEWw.

Syntax Description

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

Comparisons

NLDATEWw. is similar to WEEKDATEw. except that NLDATEWw. 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----+----2
options locale=English_UnitedStates;
date=15760;
x=put(date,nldatew.);
y=put(date,nldatew20.);
z=put(date,nldatew200.);
run;
Mon, Feb 24, 03
Mon, Feb 24, 03
Monday, February 24, 2003
options locale=German_Germany;
date=15760;
x=put(date,nldatew.);
y=put(date,nldatew20.);
z=put(date,nldatew200.);
run;
Mo, 24. Feb 03

Mo, 24. Feb 03

Montag, 24. Februar 2003