Previous Page | Next Page

Informats for NLS

NLTIMAPw. Informat



Reads the time value and uses a.m. and p.m. in the specified locale, and then converts the time value to the local SAS time value.
Category: Date and Time

Syntax
Syntax Description
Examples
See Also

Syntax

NLTIMAPw.


Syntax Description

w

specifies the width of the input field.

Default: 10
Range: 4-200

Examples

The following example uses 04:24:43 p.m. as the input value.

Statements Results

----+----1----+
options locale=English_UnitedStates;

y=input('04:24:43 PM',nltimap11.);

put y time.;
16:24:43
options locale=German_Germany;

y=input('16.24 Uhr',nltimap11.);

put y time.;
16:24:43


See Also

Formats:

NLTIMAPw. Format

Previous Page | Next Page | Top of Page