Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

This simple user macro renders current timestamp on the page (please note that it uses server's time)

Online demo

Current date


User macro code

Code Block
## @noparams

$content.currentDate

Full configuration

Image Added


Info

Also you can extend this to print out date and time using formatting options you have configured in your Confluence and in user's timezone

Code Block
$action.dateFormatter.formatDateTime($content.currentDate)

Current date formatted