# Retrieving Data

**URL:** <https://developer.sailpoint.com/discuss/t/retrieving-data/10093>\
**Category:** IIQ Discussion and Questions\
**Tags:** apis\
**Created:** [April 9, 2023, 11:55am UTC](https://developer.sailpoint.com/discuss/t/retrieving-data/10093 "2023-04-09T11:55:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![callhimalan](https://avatars.discourse-cdn.com/v4/letter/c/e480ec/32.png) [@callhimalan](https://developer.sailpoint.com/discuss/u/callhimalan)\
**Post date:** [April 9, 2023, 11:55am UTC](https://developer.sailpoint.com/discuss/t/retrieving-data/10093/1 "2023-04-09T11:55:34Z")

</div>

Hello community, I am implementing a custom function that needs to first gets to know when the identity is created. There are attributes that able to retrieve using .getAttribute function. However, it does not work on the 3rd Line of angle bracket Identity. Does anyone know how to retrieve the “created date”?

Insert image for a clearer view

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/7/747f9a37d70d49e4d693a0802a6ba858c1965484.png)

---

<div class="post-metadata">

**Author:** ![markearnest](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/markearnest/32/5997_2.png) [@markearnest](https://developer.sailpoint.com/discuss/u/markearnest)\
**Post date:** [April 9, 2023, 12:26pm UTC](https://developer.sailpoint.com/discuss/t/retrieving-data/10093/2 "2023-04-09T12:26:21Z")

</div>

Hello Alan,

The Identity object extends sailpoint.object.SailPointObject which has a getCreated() method that returns a java.util.Date object.

Instead of using getAttribute(“create”), call getCreated().

---

<div class="post-metadata">

**Author:** ![callhimalan](https://avatars.discourse-cdn.com/v4/letter/c/e480ec/32.png) [@callhimalan](https://developer.sailpoint.com/discuss/u/callhimalan)\
**Post date:** [April 9, 2023, 12:48pm UTC](https://developer.sailpoint.com/discuss/t/retrieving-data/10093/3 "2023-04-09T12:48:18Z")

</div>

Hello Mark,

Tried the method u provided and works. Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [July 19, 2023, 2:26pm UTC](https://developer.sailpoint.com/discuss/t/retrieving-data/10093/4 "2023-07-19T14:26:01Z")

</div>


