Previous Page | Next Page

Formats for NLS

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 am or pm. NLTIMAP also converts SAS date-time values.
Category: Date and Time
Alignment: left

Syntax
Syntax Description
Comparisons
Examples
See Also

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.


Examples

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

Formats:

NLTIMEw. Format

Previous Page | Next Page | Top of Page