Chapter Contents |
Previous |
Next |
EURDFDWNw. |
Category: | Date and Time |
Alignment: | right |
Syntax | |
Syntax Description | |
Details | |
Examples | |
See Also |
Syntax |
EURDFDWNw. |
Default: | depends on the language
prefix you use. The following table shows the default for each language:
|
||||||||||||||||||||||||||||||||||||||||||||
Range: | 1-32 | ||||||||||||||||||||||||||||||||||||||||||||
Tip: | If you omit w, SAS prints the entire name of the day. |
Details |
If necessary, SAS truncates the name of the day to fit the format width. The EURDFDWNw. format writes SAS date values in the form day-name, 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.
Examples |
The following example table uses the input value 15344, which is the SAS date value that corresponds to January 4, 2002. The first PUT statement assumes the DFLANG= system option is set to French.
options dflang=french; put day eurdfdwn8.;The second PUT statement uses the French language prefix in the format to write the day of the week in French. The third PUT statement uses the Spanish language prefix in the format to write the day of the week in Spanish. The value of the DFLANG= option, therefore, is ignored.
SAS Statements | Results |
---|---|
----+----1 |
|
put day eurdfdwn8.; |
Vendredi |
put day fradfdwn8.; |
Vendredi |
put day espdfdwn8.; |
viernes |
See Also |
Formats:
| |||||||||
Informats:
| |||||||||
System
Option:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.