NLDATMw. Format

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

Syntax

NLDATMw.

Syntax Description

w
specifies the width of the output field. If necessary, SAS abbreviates the datetime value to fit the format width.
Default:30
Range:10–200

Comparisons

The NLDATMw. format is similar to the DATETIMEw. format except that the NLDATMw. format is locale-specific.

Example

These examples use the input value of 1361709583, which is the SAS datetime value that corresponds to 12:39:43 p.m. on February 24, 2003.
Statements
Results
----+----1----+----2----+----3
options locale=English_UnitedStates;
put day nldatm.;
24Feb03:12:39:43
options locale=German_Germany;
put day nldatm.;
24. Februar 2003 12.39 Uhr