The RESTful Web Service SDKs support dateTime data of the following format:
yyyy-mm-ddThh:mm:ss(zzzzzz)
Where:
Character | Description |
---|---|
yyyy | A four digit that represents the year |
- | Separators between parts of the date portion |
First mm | A two-digit numeral that represents the month |
dd | A two-digit numeral that represents the day |
T | A separator indicating that time-of-day follows |
hh | A two-digit numeral that represents the hour |
: | A separator between parts of the time-of-day portion |
Second mm | A two-digit numeral that represents the minute |
tt | A two-integer-digit numeral that represents the whole seconds |
zzzzzz or offset | zzzzzz (if present) represents the timezone according to the W3C recommendation. If zzzzzzz is not specified, the time specified is GMT. You can include an offset, for example, -5:00 corresponds to Central Daylight Savings Time as well as Eastern Standard Time in the U.S. |
2002-10-10T12:00:00-05:00 (noon on 10 October 2002, Central Daylight Savings Time as well as Eastern Standard Time in the U.S.)
2002-10-10T12:00:00Z (equivalent date time with the timezone specified)