NLDATEw. Informat

Reads the date value in the specified locale, and then converts the date value to the local SAS date value.
Category: Date and Time

Syntax

NLDATEw.

Syntax Description

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

Example

The following examples use the input February 24, 2003.
Statements
Results
----+----1----+
options locale=English_UnitedStates;
dy='February 24, 2003';
y=input('dy,nldate200.);
put y=;
15760
options locale=German_Germany;
dy='24. Februar 2003';
y=input(dy,nldate16.);
put y=;
15760

See Also

Format: