You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I am thinking of creating a user macro. I've been searching and I've seen in the codes quite a lot
I've tried to output that and it seems to get the current date and time. Question is how do i display it in a an acceptable format like "MMM DD YYYY HH:mm:ss"
Also, i think this works but more like a clock. - $content.currentDate
Is there a way for me to make it function like a date and time stamp?
A simpler approach might just be to use the commenting system.
I like this approach. Update the page, put in a note that says "I put in this macro" in the diff message.
I think what Matthew was suggesting is that you users put the message in the "What did you change?" box next to the save button. These message are stored in the page history in a neat little table.
Would it not be simpler to just create a user macro that prints the last modfication date of the page?
That is by using the metadata correct? It is also ok to print that. But what my user wants is something that does not update everytime the page is updated.
This is so that you can just placed it after reviewed by >Insert User< last >Date Stamp Macro<
and then the next user can add another one.
reviewed by >Insert User< last >Date Stamp Macro<
such that the macros display the last time they review it or updated the document and not just the latest data.
Sadly this solution would mean it updates every time the page is updated.
You can use the dateFormatter's formatGivenString() method to specify a format:
There are also other methods you can use. Here's the API docs on it:
Actually, I'm already fine with $content.currentDate. It gives a complete Date and Time output. The thing is, everytime I refresh the page, so does its value.
What i need is a Date Stamp. Such that once I add it up, it becomes a static content on the page.
Is it possible with User Macros?