Specifies the sequence of month, day, and year when ANYDTDTE,
ANYDTDTM, or ANYDTTME informat data is ambiguous.
Valid in: |
configuration file, SAS invocation, OPTIONS
statement, SAS System Options window
|
Category: |
Environment control: Language control
|
|
Input
control: Data Processing
|
PROC OPTIONS GROUP= |
INPUTCONTROL
|
|
LANGUAGECONTROL
|
DATESTYLE= MDY | MYD | YMD | YDM | DMY
| DYM | LOCALE
|
-
MDY
-
specifies that SAS set the order as month,
day, year.
-
MYD
-
specifies that SAS set the order as month,
year, day.
-
YMD
-
specifies that SAS set the order as year,
month, day.
-
YDM
-
specifies that SAS set the order as year,
day, month.
-
DMY
-
specifies that SAS set the order as day,
month, year.
-
DYM
-
specifies that SAS set the order as day,
year, month.
-
LOCALE
-
specifies that SAS set the order based on
the value that corresponds to the LOCALE= system option value and is one of
the following: MDY | MYD | YMD | YDM | DMY | DYM.
System option
DATESTYLE= identifies the order of month,
day, and year. The default value is LOCALE. The default LOCALE system option
value is English, therefore, the default DATESTYLE order is MDY.
Operating Environment Information: See Locale Values in
SAS National Language Support (NLS): Reference Guide
to get the default settings for each locale option
value.
System Option:
Informats:
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.