NLTIMAPw. Format

Converts a SAS time value to the time value of a specified locale, and then writes the value as a time value with a.m. or p.m. NLTIMAP also converts SAS date-time values.
Category: Date and Time
Alignment: left

Syntax

NLTIMAPw.

Syntax Description

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

Comparisons

The NLTIMAPw. format is similar to the TIMEAMPMw. format except that the NLTIMAPw. format is locale-specific.

Example

These examples use the input value of 59083, which is the SAS date-time value that corresponds to 4:24:43 p.m.
Statements
Results
----+----1----+
options locale=English_UnitedStates;
put time nltimap.;
4:24:43 PM
options locale=German_Germany;
put time nltimap.;
16.24 Uhr

See Also

Format: