How to add time stamp after the date on last updated information

Still need help?

The Atlassian Community is here for you.

Ask the community


To add time stamp after the date on last updated information because the time stamp on every page is not granular enough in showing the time. It's just showing the date like the following.

This behavior is controlled in page-metadata.vm file located in <confluence-install>/confluence/decorators/includes/. By default the formatter did not return the time, it will only return the date.


You need to edit the page-metadata.vm and change the formatter. Here's the brief steps of doing that.

  1. Navigate to <confluence-install>/confluence/decorators/includes/

  2. Open page-metadata.vm with your favorite editor
  3. Find the following line (there are two different parts in the file that contain similar line)

    "$action.dateFormatter.format( $page.lastModificationDate )"])
  4. Change the line to the following.

    "$action.dateFormatter.formatDateTime( $page.lastModificationDate )"])
  5. Restart Confluence and it will show the exact time, following the User Profile's timezone setting.


Last modified on Feb 26, 2016

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.