Usage Note 11206: IS8601* FORMATS and INFORMATS for DATE, TIME, and DATETIME
These FORMATS and INFORMATS are available beginning in Release 8.2,
specifically for the XML engine support:
INFORMAT DESCRIPTION PATTERN
IS8601DA date YYYY-MM-DD
IS8601DN datetime with date portion YYYY-MM-DD
IS8601DT datetime YYYY-MM-DDThh:mm:ss[.fffff]
IS8601DZ datetime with a time zone
YYYY-MM-DDThh:mm:ss[.fffff][Z|[[+-]hh:mm]]
IS8601TM time hh:mm:ss[.fffff]
IS8601TZ time with a time zone
hh:mm:ss[.fffff][Z|[[+-]hh:mm]]
FORMAT DESCRIPTION PATTERN
IS8601DA date YYYY-MM-DD
IS8601DN datetime with date portion YYYY-MM-DD
IS8601DT datetime YYYY-MM-DDThh:mm:ss[.fffff]
IS8601DZ datetime with a time zone
YYYY-MM-DDThh:mm:ss[.fffff][Z|[[+-]hh:mm]]
IS8601TM time hh:mm:ss[.fffff]
IS8601TZ time with a time zone
hh:mm:ss[.fffff][Z|[[+-]hh:mm]]
INFORMAT DESCRIPTION PATTERN
ND8601DA date YYYYMMDD
ND8601DN datetime with date portion
ND8601DT datetime YYMMDDHHMMSS
ND8601DZ datetime with a time zone
ND8601TM time HHMMSS
ND8601TZ time with a time zone
The "ND" INFORMAT-only equivalents for each "IS" form correspond to
"basic" FORMATS for the "extended" forms. "ND" means "non-delimited",
that is delimiting characters are omitted, which is an acceptable
alternate representation.
Use of the "ND" variants is discouraged in the XML content. Types
which are input with "ND" INFORMATS should be output with
corresponding "IS" standard FORMATS.
Complete documentation for these INFORMATS and FORMATS is available in
the SAS 9.1 XML LIBNAME Engine User's Guide.
If running SAS version 8.2 you should apply the hotfix described in
SAS Note 12361 to gain functionality of these
INFORMATS and FORMATS.
Operating System and Release Information
SAS System | Base SAS | OpenVMS VAX | 8.2 TSM0 | |
IRIX | 8.2 TSM0 | |
Solaris | 8.2 TSM0 | |
64-bit Enabled Solaris | 8.2 TSM0 | |
z/OS | 8.2 TSM0 | |
ABI+ for Intel Architecture | 8.2 TSM0 | |
64-bit Enabled HP-UX | 8.2 TSM0 | |
HP-UX | 8.2 TSM0 | |
CMS | 8.2 TSM0 | |
OpenVMS Alpha | 8.2 TSM0 | |
64-bit Enabled AIX | 8.2 TSM0 | |
Tru64 UNIX | 8.2 TSM0 | |
AIX | 8.2 TSM0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Usage Note |
Priority: | low |
Topic: | SAS Reference ==> Formats ==> Date and Time SAS Reference ==> Informats ==> Date and Time Data Management ==> Manipulation and Transformation ==> Date and Time
|
Date Modified: | 2008-04-17 14:12:38 |
Date Created: | 2003-11-05 13:41:13 |