# Date of first publish

**URL:** <https://community.bloomreach.com/t/date-of-first-publish/2893>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [November 24, 2021, 9:06am UTC](https://community.bloomreach.com/t/date-of-first-publish/2893 "2021-11-24T09:06:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![david.sinclair](https://avatars.discourse-cdn.com/v4/letter/d/b5a626/32.png) [@david.sinclair](https://community.bloomreach.com/u/david.sinclair)\
**Post date:** [November 24, 2021, 9:06am UTC](https://community.bloomreach.com/t/date-of-first-publish/2893/1 "2021-11-24T09:06:57Z")

</div>

Hi,

I have been asked to provide an export of data from our repository. One of the fields required is the date a page was first published. I am writing some jcr code to do this but am not sure how to get that information.

If I have the handle node for a document, am I correct that I need to get the versionable child (in the console it is coloured blue). But then what is the correct way to get the date this document was first published?

Thanks in advance for any advice!

David

---

<div class="post-metadata">

**Author:** ![machak](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/machak/32/1298_2.png) [@machak](https://community.bloomreach.com/u/machak)\
**Post date:** [November 24, 2021, 11:26am UTC](https://community.bloomreach.com/t/date-of-first-publish/2893/2 "2021-11-24T11:26:03Z")

</div>

you will need to use a groovy script or similar to access versioning nodes, see also:  
[https://bloomreach-forge.github.io/hst-content-version-utils/](https://bloomreach-forge.github.io/hst-content-version-utils/)

---

<div class="post-metadata">

**Author:** ![david.sinclair](https://avatars.discourse-cdn.com/v4/letter/d/b5a626/32.png) [@david.sinclair](https://community.bloomreach.com/u/david.sinclair)\
**Post date:** [November 24, 2021, 1:13pm UTC](https://community.bloomreach.com/t/date-of-first-publish/2893/3 "2021-11-24T13:13:55Z")

</div>

thanks, will give that a try.
