Converts a SAS time value to the time value of a specified locale
and then writes the value as a time value with am or pm. NLTIMAP
also converts SAS date-time values.
Category: |
Date and Time
|
Alignment: |
left
|
-
w
-
specifies the width of the output field.
The NLTIMAPw. format is similar
to the TIMEAMPMw. format except that the NLTIMAPw. 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 nltimap.;
|
4:24:43 PM
|
options locale=German_Germany;
put time nltimap.;
|
16.24 Uhr
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.