Page Created Date
Asked by Yogesh Mude:

Hi Team,

In Confluence currently we can see the details like Who has been created the page and last modified date of it but i want to know the Created date for the page as well.

I know we can get this information from Page History but in my scnerio we have around 1K pages so its difficult to go each and every page history and check the created date.

Any suggestions/add-on can help us to find out this.


Answers:
author: Tarun Sapra
body: Hello [@Yogesh Mude](/t5/user/viewprofilepage/user-id/1169678)

I have implemented something simliar.

You can hide the meta-information for all the pages in the space

<https://confluence.atlassian.com/confkb/how-to-hide-content-author-name-created-by-in-a-page-701600769.html>

"How to Hide 'Created by' and 'Last Modified'"

Then add the required information in the space header in the space admin section - look and feel (creator, creationDate, and lastModified by and the date)

<https://community.atlassian.com/t5/Answers-Developer-Questions/Confluence-5-4-2-user-macro-to-display-author-tagline/qaq-p/505453>

<https://docs.atlassian.com/atlassian-confluence/5.4.2/com/atlassian/confluence/pages/Page.html>

comments: author: Yogesh Mude
body: Hi [@Tarun Sapra](/t5/user/viewprofilepage/user-id/781576)

Thanks for the response.

Will check and get back to you.


author: Yogesh Mude
body: Hi [@Tarun Sapra](/t5/user/viewprofilepage/user-id/781576)

I have checked with below but no luck..

```
$content.getCreationDate()
```

Could you please check and let me know where i have missed out.

![Confluence_StyleSheet.png](https://community.atlassian.com/t5/image/serverpage/image-id/37646i6CE1F84B2013AAE6/image-size/large?v=v2&px=999 "Confluence_StyleSheet.png")![Creation_Date.png](https://community.atlassian.com/t5/image/serverpage/image-id/37647i6B0497BF55033E2F/image-size/large?v=v2&px=999 "Creation_Date.png")


author: Yogesh Mude
body: HI [@Tarun Sapra](/t5/user/viewprofilepage/user-id/781576)

Thanks for your response.

Its working with the User Macro..


author: Tarun Sapra
body: Hello [@Yogesh Mude](/t5/user/viewprofilepage/user-id/1169678)

Glad to know that it's working, could you please paste the complete solution so that other users in the community can also implement something similar in their instance if need be. Thanks!


author: Yogesh Mude
body: HI [@Tarun Sapra](/t5/user/viewprofilepage/user-id/781576)

We need to create a user Macro form General configurations and need to add the below code.

```
## @noparams&lt;ul&gt;  &lt;li&gt;&lt;strong&gt;Created By:&lt;/strong&gt; #usernameLink($content.getCreatorName())&lt;/li&gt;  &lt;li&gt;&lt;strong&gt;Created Date:&lt;/strong&gt; $action.dateFormatter.formatDateTime($content.getCreationDate())&lt;/li&gt;  &lt;li&gt;&lt;strong&gt;Page Version:&lt;/strong&gt; $content.getVersion()&lt;/li&gt;  &lt;li&gt;&lt;strong&gt;Last Modified By:&lt;/strong&gt; #usernameLink($content.getLastModifierName())&lt;/li&gt;  &lt;li&gt;&lt;strong&gt;Last Modifed Date:&lt;/strong&gt; $action.dateFormatter.formatDateTime($content.getLastModificationDate())&lt;/li&gt;&lt;/ul&gt;
```

Once we have done with the user macro, just need to add the created macro to confluence page so it will show the created Date and all...

For more information please have a look at the below previous discussion.

<https://community.atlassian.com/t5/Answers-Developer-Questions/Confluence-5-x-API-extracting-page-metadata-created-by-date/qaq-p/529471>

Note: The CSS code it won't work on anywhere like space Stylesheet.


author: Tarun Sapra
body: Hello [@Yogesh Mude](/t5/user/viewprofilepage/user-id/1169678)

Thanks for sharing, so you have created the user macro, but then instead of manually adding on every page, have you tried adding the macro on evervy page of the space as described here

<https://community.atlassian.com/t5/Confluence-questions/Confluence-apply-a-macro-to-all-children-pages-of-a-space/qaq-p/36058>


author: Yogesh Mude
body: HI [@Tarun Sapra](/t5/user/viewprofilepage/user-id/781576)

Yup..this also helps and reducing the time.

<https://community.atlassian.com/t5/Confluence-questions/Adding-a-macro-to-all-pages-in-a-space/qaq-p/638960>


author: Fabienne Gerhard
body: Pretty cool - thanks for sharing this solution that made me a find a solution for a problem I had for a long time.


author: tapraj
body: This solution does work for me to populate the date but unfortuantely the date updates to current date in the existing pages even when then page's creation date is not current date. Any solution regarding that?


author: Fabienne Gerhard
body: Hi [@Yogesh Mude](/t5/user/viewprofilepage/user-id/1169678) - if you just want to find all pages created in a defined timeline - you can easily put a filter in search. Just put a filter looking for sites and define timeline.

comments: author: Yogesh Mude
body: Hi [@Fabienne Gerhard](/t5/user/viewprofilepage/user-id/971720)

Thanks for the response.

Could you please provide an example of it.


author: Fabienne Gerhard
body: Hi [@Yogesh Mude](/t5/user/viewprofilepage/user-id/1169678)

1. Go to advanced search
2. Add filter -\> 'Created' ![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/37645i6A8A8FDB4C7E400B/image-dimensions/181x192?v=v2 "image.png")![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/37648i48182526E9041541/image-dimensions/165x212?v=v2 "image.png")
3. Choose 'Costum'
4. You can now define the timeline 'From' -\> 'To' ![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/37649i8378289705D8D5B1/image-dimensions/213x296?v=v2 "image.png")
5. Result:  
   ![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/37651i5DF4A7AFD942AFF6/image-dimensions/440x422?v=v2 "image.png")

You can also restrict results using the other available functions like Type of, Last modified aso.

Hope this helps!


author: Yogesh Mude
body: Hi [@Fabienne Gerhard](/t5/user/viewprofilepage/user-id/971720)

Sorry for the silly question but I'm not able to find the Advanced Search option in Confluence Itself.


author: Fabienne Gerhard
body: Hi [@Yogesh Mude](/t5/user/viewprofilepage/user-id/1169678) - stupid questions don't exist. My fault (a little bit) - it's Full search not Advanced (even if it's advanced in my own little opinion)

You enter full search when using search function - [see documentation here](https://confluence.atlassian.com/doc/search-139528.html#Search-Fullsearch)

-\> you can delete the search word (which you used to enter search result site) if you want to search for the date created

Keep on going!


author: Yogesh Mude
body: In my case, there will be a lot of the pages so the filter will help us more.


author: Mumo Systems
body: Yogesh,

Try the [Change-History Macro](https://confluence.atlassian.com/doc/change-history-macro-154632795.html?_ga=2.192867305.2104001685.1542025918-2036332451.1475171229).

Victor

comments: author: Yogesh Mude
body: [@Mumo Systems](/t5/user/viewprofilepage/user-id/544521)

Thanks for the response.

Will check this.


author: Martin
body: Hello ,

You can try this app: [Page Views](https://marketplace.atlassian.com/apps/1215565/page-views?hosting=server&tab=overview)

It can show a list of all pages with creator information.


Tags: confluence-server

page

page-history

server