Chapter Contents |
Previous |
Next |
EURDFWDXw. |
Category: | Date and Time |
Alignment: | right |
Syntax | |
Syntax Description | |
Details | |
Comparisons | |
Examples | |
See Also |
Syntax |
EURDFWDXw. |
Default: | depends on the language
prefix you use. The following table shows the default for each language:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Range: | 3 - maximum width | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Tip: | If w is too small to write the complete day of the week and the month, SAS abbreviates as necessary. |
Details |
The EURDFWDXw. format writes SAS date values in the form dd month-name yy or dd month-name yyyy, where
You can set the language for the SAS session with the DFLANG= system option. (Because the SAS Installation Representative usually sets a default language for the site, you may be able to skip this step.) If you work with dates in multiple languages, you can replace the EUR prefix with a language prefix. See DFLANG= for the list of language prefixes. When you specify the language prefix in the format, SAS ignores the DFLANG= option.
Comparisons |
Examples |
The example table uses the input value 15342, which is the SAS date value that corresponds to January 2, 2002. The first PUT statement assumes the DFLANG= system option is set to Dutch.
options dflang=dutch;The second PUT statement uses the Dutch language prefix in the format to write the name of the month in Dutch. The third PUT statement uses the Italian language prefix in the format to write the name of the month in Italian. The value of the DFLANG= option, therefore, is ignored.
SAS Statements | Results |
---|---|
----+----1----+----2----+----3 |
|
put day eurdfwdx29.; |
2 januari 2002 |
put day nlddfwdx29.; |
2 januari 2002 |
put day itadfwdx17.; |
02 Gennaio 1998 |
See Also |
Format:
| |||
System
Option:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.