Is there a Macro to display Last Update Date of the Page?
Asked by Alejandro Sanfeliu Vernis:

Is there a Macro to display Last Update Date of the Page


Answers:
author: Stephen Deutsch
body: You could create your own as a user macro:

<https://confluence.atlassian.com/doc/writing-user-macros-4485.html>

```
## @noparamsLast Modified: $action.dateFormatter.formatDateTime($content.lastModificationDate)
```

comments: author: Alejandro Sanfeliu Vernis
body: Thanks


author: Gregor N?ckel
body: Hi [@Stephen Deutsch](/t5/user/viewprofilepage/user-id/781490) you seem to have alot of experience in writing confluence plugins so maybe you have a tip or idea on how to extent this plugin to display like the last 5 Modified Dates of a page ? Thank you in advance and have a nice weekend! :)

Gregor


author: Devan Dewey
body: Looks like this code breaks in Confluence 7.19.10

[@Stephen Deutsch](/t5/user/viewprofilepage/user-id/781490) do you have an update?


author: Devan Dewey
body: Looks like it's the formatting that's broken, because this works:

## @noparams  
#set ( $dateInfo=$content.lastModificationDate)  
Last Modified: $dateInfo


author: Lisa Napier
body: For inclusion in a page properties report, I found the contributors summary too cumbersome. It's a table within a table. But I found that I could modify the Contributors macro to include the last updated, with the inline format, works perfectly!

Useful for PageProperties reports of various project status pages, and providing a "freshness" index of projects.

comments: author: Eline Vandeput
body: Hi Lisa,

very useful tip!

Can you explain a bit more on how you do the inline format?

I want to add the "last update" to my page properties table and it would indeed look much better if it was not shown as a table in a table.

I am not that familiar with confluence (and not tech savvy) so a bit more information would be much appreciated. ;)


author: Lisa Napier
body: Hi Eline,

The example that I responded to used the macro "Contributors Summary" which produces a table. There is another macro called "Contributors" which -By Default- does not list the last update - but you can modify it. Here's the steps I use:

Type "/contri" - short cut to the macros menu, select "Contributors" - press enter

You now have a box that says 'contributors' and an edit menu \[pencil, width setting, trash\]. - Select "Edit" to bring up a dialog box.

You now have many settings to change... "Contribution Type", Sort By, Maximum number of Contributors, Display format,

Select the box that says "Show Last Contribution Time?"

And you can keep the list tidy by setting the Maximum number of Contributors to 1 or 2.

Save that and you'll end up with something that looks like

\[Last update: Lisa.Napier (12 days ago) \]

Hope that helps!


author: Satu K
body: Thanks for this! Helped me a lot :)


author: Henry See Toh
body: If you are using Confluence Server then you can use the Confluence Macro "Contributors Summary" macro.

Configure the macro with

Group By: contributors

Columns to Display: lastupdate

Sort By: update

Maximum Number of Items:1

This will show the User and the Last Update details for the page.

What's really useful is that if you include the "Contributors Summary" within a row of a "Page properties" macro e.g.

![Untitled.png](https://community.atlassian.com/t5/image/serverpage/image-id/101677i9EC3DD56DC3C2C30/image-size/large?v=v2&px=999 "Untitled.png")

and label the page. You can get a summary of such pages in another Confluence page using the "Page properties report" macro. In the above set up, the summary will show columns with:

Title \| Description \| Details (within the details there will be User \| Last Update) \| Next Review \| Status


author: Stiltsoft Support
body: Hello [@Alejandro Sanfeliu Vernis](/t5/user/viewprofilepage/user-id/1133142) ,

[Handy Timestamp](https://docs.stiltsoft.com/hmfc/server-dc/handy-timestamp/how-to-use-handy-timestamp) does exactly what you need. It is a macro included in [Handy Macros for Confluence.](https://marketplace.atlassian.com/apps/1214971/handy-macros-for-confluence-formatting-and-interactive-ui?tab=overview&hosting=server&utm_source=atlassian-community&utm_medium=answer&utm_campaign=handy-macros-traffic-sources&utm_id=1216111&utm_content=page_update)

Use it to insert the page creation, update, or the date of inserting the timestamp. It works in Confluence native macros, i.e. Page Properties Report, so you can generate overviews with Handy Timestamp.