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()
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.