NLDATMAPw. Format
Converts a SAS datetime value to the datetime value
of the specified locale, and then writes the value as a datetime with
a.m. or p.m.
Category: |
Date and Time |
Alignment: |
left |
Syntax
Syntax Description
- w
-
specifies the width
of the output field. If necessary, SAS abbreviates the date-time value
to fit the format width.
Comparisons
The NLDATMAP
w. format is similar to DATEAMPM
w. except that the NLDATMAP
w. format is locale-specific.
Example
These
examples use the input value of 1361709583, which is the SAS date-time
value that corresponds to 12:39:43 p.m. on February 24, 2003.
|
|
|
----+----1----+----2----+----3
|
options locale=English_UnitedStates;
|
February 24, 2003 12:39:43 PM
|
options locale=Spanish_Mexico;
|
24 de febrero de 2003 12:39:43 PM
|