Writes international date values in the form ddmmmyy
or ddmmmyyyy
| Category: |
Date and Time
|
| Alignment: |
right
|
-
w
-
specifies the width of the output field.
Note:
If you use the Finnish (FIN) language prefix,
the w range is 9-10 and the default is
9. ![[cautend]](../common/images/cautend.gif)
The EURDFDEw. format writes
SAS date values in the form ddmmmyy or ddmmmyyyy, where
-
dd
-
is an integer that represents the day of
the month.
-
mmm
-
is the first three letters of the month
name.
-
yy or yyyy
-
is a two- or four-digit integer that
represents the year.
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.
The example table uses the input value 13881, which
is the SAS date value that corresponds to January 2, 1998. The first PUT statement
assumes the DFLANG= system option is set to Spanish.
options dflang=spanish;
The second PUT statement uses the Spanish language
prefix in the format to write the international date value in Spanish. The
third PUT statement uses the French language prefix in the format to write
the international date value in French. The value of the DFLANG= option, therefore,
is ignored.
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.