DATETIMETYPE
The format for specifying date and time (including a time zone) is
CCCC-MM-DDThh:mm:ss+hh:mm
or
CCCC-MM-DDThh:mm:ss-hh:mm
where
CCCC is the four-digit year
MM is the month,
DD is the day,
the character T is a separator,
hh is the hour,
mm is the minute,
ss is the second, and
hh:mm is the difference between the local time
of the client and UTC
(Universal Coordinated Time).
The following table shows examples of valid DATETIMETYPE constructs:
| Value: | Meaning: |
| 2002-06-05 | June 5, 2002 |
| 2002-06-05T10 | June 5, 2002, 10:00 a.m. |
| 2002-06-05T10:21 | June 5, 2002, 10:21 a.m. |
| 2002-06-05T10:21:10 | June 5, 2002, 10:21:10 a.m. |
| 2002-06-05T10:21:10-08:00 | June 5, 2002, 10:21:10 a.m. Pacific time |
Note: The DATETIMETYPE does not take daylight saving time into account. Returned time values always use "standard" time.