Reads the datetime value of the specified locale, and then converts
the datetime value to the local SAS datetime value.
- w
-
specifies the width of the input field.
Default: |
30 |
Range: |
10-200 |
The following examples use the input value of February 24, 2003 12:39:43.
Statements |
Results |
|
----+----1----+
|
options locale=English_UnitedStates;
y=input('24.Feb03:12:39:43', nldatm.);
put y=;
|
1361709583
|
options locale=German_Germany;
y=input('24.Februar 2003 12.39 Uhr', nldatm.);
put y=;
|
1330171200
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.