Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×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.
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()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.