Date formats in the SCIM API

Date attributes follow the ISO 8601 format (https://www.ietf.org/rfc/rfc3339.txt). The following formats are supported: 

  • yyyy-MM-dd'T'HH:mm:ssXX
  • yyyy-MM-dd'T'HH:mm:ssXXX
  • yyyy-MM-dd'T'HH:mm:ss.SSSXX
  • yyyy-MM-dd'T'HH:mm:ss.SSSXXX

Where:

  • yyyy: year in 4 digits.
  • MM: month in 2 digits.
  • dd: day in the month in 2 digits.
  • HH: hour in the day, 24h format.
  • mm: minutes in the hour, 2 digits.
  • ss: seconds in the minute, 2 digits.
  • SSS: milliseconds in the second, 3 digits.
  • XX and XXX: time zone. Indicate 'Z' for UTC (Zulu time). Or an offset '±hh:mm' or '±hhmm' from UTC.

For example, these three dates are supported and represent the same date and time:

  • 2017-06-04T10:15:30Z
  • 2017-06-04T12:15:30+0200
  • 2017-06-04T12:15:30.000+02:00