Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Insert the latest edit time in a post

jonghun.yoo April 15, 2014

I'd like to explicitly write current date and time in my post.

Is there any way to automatically insert current date and time in the post, when the post is released or updated?

Thank you in advance.

1 answer

1 accepted

0 votes
Answer accepted
Davin Studer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 21, 2014

It is in the header of the page, but if you really want it in thecontent of the page too you could write a user macro and insert it into the page content or edit the page decorator to include it. Below is a quick example of a user macro for it.

Macro Name:
last_modified

Macro Title:
Last Modified

Macro Body Processing:
No Macro body

Template:
## @noparams
$content.getLastModificationDate()

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events