Converts SAS datetime values to the locale sensitive datetime
string as the day of the week and the datetime.
Category: |
Date and Time
|
Alignment: |
left
|
-
w
-
specifies the width of the output field.
If necessary, SAS abbreviates the day of week and datetime to fit the format
width.
Default: |
30 |
Range: |
16-200 |
The NLDATMWw. format is similar
to the TWMDYw. format except that the NLDATMWw. format is locale-specific.
These examples use the input value of 1361709583, which is the SAS datetime
value that corresponds to 12:39:43 p.m. on February 24, 2003.
Statements |
Results |
|
----+----1----+----2----+----3
|
options locale=English_UnitedStates;
put event nldatmw.;
|
Sun, Feb 24, 2003 12:39:43
|
options locale=German_Germany;
put event nldatmw.;
|
So, 24. Feb 2003 12.39 Uhr
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.