Previous Page | Next Page

Informats for NLS

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
Syntax Description
Examples
See Also

Syntax

NLDATEw.


Syntax Description

w

specifies the width of the input field.

Default: 20
Range: 10-200

Examples

The following examples use the input February 24, 2003.

Statements Results

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

y=input('February 24, 2003,nldate17.);

put y=nldate.;
y=February 24, 2003
options locale=German_Germany;

y=input('24. Februar 2003',nldate16.);

put y=nldate;
y=24. Februar 2003


See Also

Formats:

NLDATEw. Format

Previous Page | Next Page | Top of Page