NLTIMEw. Format

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

Syntax

NLTIMEw.

Syntax Description

w
specifies the width of the input field.
Default:20
Range:10–200

Comparisons

The NLTIMEw. format is similar to the TIMEw. format except that the NLTIMEw. 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 nltime.;
4:24:43
options locale=German_Germany;
put time nltime.;
16.24

See Also