# Identity search based on endDate attribute - Date format

**URL:** <https://developer.sailpoint.com/discuss/t/identity-search-based-on-enddate-attribute-date-format/85180>\
**Category:** SHF Discussion and Questions\
**Tags:** identity-security-cloud, search\
**Created:** [October 11, 2024, 11:40am UTC](https://developer.sailpoint.com/discuss/t/identity-search-based-on-enddate-attribute-date-format/85180 "2024-10-11T11:40:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![agutschow](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/agutschow/32/8543_2.png) [@agutschow](https://developer.sailpoint.com/discuss/u/agutschow)\
**Post date:** [October 11, 2024, 12:38pm UTC](https://developer.sailpoint.com/discuss/t/identity-search-based-on-enddate-attribute-date-format/85180/2 "2024-10-11T12:38:53Z")

</div>

For Item 1: Dates can only be in ISCO8601 format (yyyy-MM-dd’T’HH:mm:ss.SSSZ or yyyy-MM-dd)

> **[How to Format Identity Attribute Date Values to Be Searchable in Search](https://community.sailpoint.com/t5/IdentityNow-Wiki/How-to-Format-Identity-Attribute-Date-Values-to-Be-Searchable-in/ta-p/221948)**
>
> The search interface in IdentityNow requires all date values to be in ISO8601 format (yyyy-MM-dd'T'HH:mm:ss.SSSZ or yyyy-MM-dd) to be searchable.  Many authoritative source systems do not store dates in either of these formats, therefore if...

If your dates are coming in differently from your authoritative source, you can use a transform to set the data into the expected format in the standard attribute.

For Item 2: For custom date attributes, it seems like ISC only treats custom fields as dates when the last part of the technical name is “DateType”. So, in your case, you would want the technical name to be endDateFormattedDateType. See this discussion:

[dateType IdentityProfile attribute issue - Identity Security Cloud (ISC) / ISC Discussion and Questions - SailPoint Developer Community](https://developer.sailpoint.com/discuss/t/datetype-identityprofile-attribute-issue/3203/2)

---

_[View the full topic](https://developer.sailpoint.com/discuss/t/identity-search-based-on-enddate-attribute-date-format/85180)._
