Converts a SAS time value to the time value of the specified locale and
then writes the value as a time value. NLTIME also converts SAS date-time
values.
Category: |
Date and Time
|
Alignment: |
left
|
-
w
-
specifies the width of the input field.
Default: |
20 |
Range: |
10-200 |
The NLTIMEw. format is similar
to the TIMEw. format except that the NLTIMEw. format is locale-specific.
These examples use the input value of 59083, which is the SAS date-time
value that corresponds to 4:24:43 p.m.
Statements |
Results |
|
----+----1----+
|
options locale=English_UnitedStates;
put time nltime.;
|
4:24:43
|
options locale=German_Germany;
put time nltime.;
|
16.24
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.