HowToShowDateAndTime
Back to current versionRestore this version
How to enter the current time and the current date into the text of a Wiki page:

This

This server lives on [{INSERT CurrentTimePlugin format=zzzz}]
and the time here is [{INSERT CurrentTimePlugin format='HH:mm \'on\' dd-MMM-yyyy'}].

produces this

This server lives on Greenwich Mean Time and the time here is 09:37 on 27-Nov-2024.


How to show the current time and the current date in a template:

Use the plugin inside a TranslateTag:

<wiki:Translate>[{INSERT CurrentTimePlugin}]</wiki:Translate>