Reads the time value in the specified locale, and then converts
the time value to the local SAS time value.
- w
-
specifies the width of the input field.
Default: |
20 |
Range: |
10-200 |
The following example uses 16:24:43 as the input value.
Statements |
Results |
|
----+----1----+
|
options locale=English_UnitedStates;
y=input('16:24:43',nltime.);
put y time.;
|
16:24:43
|
options locale=German_Germany;
y=input('16.24 Uhr',nltime.);
put y time;
|
16:24:00
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.