Reads the date value in the specified locale, and then converts
the date value to the local SAS date value.
- w
-
specifies the width of the input field.
Default: |
20 |
Range: |
10-200 |
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
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.