The ANYDTDTE informat
reads input data that corresponds to any of the following informats
or date, time, or datetime forms and extracts the date part from the
derived value.
Informat or Form of
Input
|
|
Informat or Form of
Input
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1x is a special character that separates the month from the year.
|
If the input value is
a time-only value, then SAS assumes a date of 01JAN1960.
It is possible for input
data such as 01-02-03 or 01-02 to be ambiguous with respect to the
month, day, and year. In this case, the DATESTYLE system option indicates
the order of the month, day, and year.