NLDATMWZw. Format

Converts SAS date values of the specified locale to a day-of-week, datetime, and time zone value.
Category: Date and Time
Alignment: left

Syntax

NLDATMWZw.

Syntax Description

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

Example

This example uses the current datetime value.
Statements
Result
options locale=fr_FR;
data test;
x=datetime();
put x=nldatmwz.;
run;
x=vendredi 18 mars 2011 10 h 40 -0400