NLDATMTMw. Format

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

Syntax

NLDATMTMw.

Syntax Description

w
specifies the width of the output field.
Default:16
Range:16–200

Comparisons

The NLDATMTMw. format is similar to the TODw. format except that the NLDATMTMw. 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
options locale=English_UnitedStates;
put event nldatmtm.;
12:39:43
options locale=German_Germany;
put event nldatmtm.;
12.39 Uhr