---
title: DateTime SCIM 2.0 attribute mappings
description: DateTime System for Cross-domain Identity Management (SCIM) 2.0 attribute mappings can be used for cases in which the SCIM attribute has a value that is a JavaScript Object Notation (JSON) string or an array of JSON strings representing timestamps in the ISO 8601 format described in RFC 3339.
component: pingdirectory
version: 11.0
page_id: pingdirectory:pingdatasync_server_administration_guide:pd_sync_date_time_scim2_attr_map
canonical_url: https://docs.pingidentity.com/pingdirectory/11.0/pingdatasync_server_administration_guide/pd_sync_date_time_scim2_attr_map.html
revdate: September 13, 2023
---

# DateTime SCIM 2.0 attribute mappings

DateTime System for Cross-domain Identity Management (SCIM) *(tooltip: \<div class="paragraph">
\<p>An application-level, HTTP-based protocol for provisioning and managing user identity information. SCIM supplies a common schema for representing users and groups and provides a REST API.\</p>
\</div>)* 2.0 attribute mappings can be used for cases in which the SCIM attribute has a value that is a JavaScript Object Notation (JSON) *(tooltip: \<div class="paragraph">
\<p>An open, lightweight data-interchange format that uses human-readable text to store and transmit data.\</p>
\</div>)* string or an array of JSON strings representing timestamps in the ISO 8601 format described in [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339).

The corresponding LDAP attribute has values in the generalized time format. The values will be transformed as appropriate when converting between the LDAP and SCIM 2.0 representations.

Additional configuration properties that are available for DateTime SCIM 2.0 attribute mappings include:

* `ldap-attribute-name`

  The name of the LDAP attribute (in the mapped representation of the source entry generated by the sync class) whose values will be used as the values of the SCIM 2.0 attribute. This is required, and the LDAP attribute must have values that can be parsed using the generalized time syntax.

* `single-valued`

  Indicates whether the SCIM 2.0 attribute is single-valued or multivalued. If this is `true`, then the SCIM 2.0 representation of the attribute value will be as a JSON string. If this is `false`, then the SCIM 2.0 representation of the attribute value will be as a JSON array of strings.

You can use the following example configuration change to create a DateTime SCIM 2.0 attribute mapping:

```
dsconfig create-scim2-attribute-mapping \
     --mapping-name "Create Time" \
     --type date-time \
     --set scim-attribute-name:created \
     --set ldap-attribute-name:createTimestamp \
     --set attribute-usage:fetch \
     --set attribute-usage:create-during-realtime-sync \
     --set attribute-usage:create-during-resync \
     --set single-valued:true
```
