Date and Time Formats

The RESTful Web Service SDKs support dateTime data of the following format:

yyyy-mm-ddThh:mm:ss(.s+)(zzzzzz|Z)

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
ss A two-integer-digit numeral that represents the whole seconds
.s+ The fractional seconds preceded by a dot separator
zzzzzz zzzzzz represents the timezone according to the W3C recommendation. zzzzzz is of the form +|-hh:mm.
Z The zero-length duration timezone, which is the UTC canonical representation

Example

2002-10-10T12:00:00.000-05:00 (noon on 10 October 2002, Central Daylight Savings Time as well as Eastern Standard Time in the U.S.) is equivalent to 2002-10-10T17:00:00.000Z.