NLDATMZw. Format

Converts SAS datetime values to the locale-sensitive datetime string as time zone and datetime.
Category: Date and Time
Alignment: left

Syntax

NLDATMZw.

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=nldatmz.;
run;
x=18 mars 2011 10 h 40 -0400