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 08:49 on 23-Jan-2021.
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>
Go back to DontTellMeShowMe
Add new attachment
Only authorized users are allowed to upload new attachments.
«
This page (revision-2) was last changed on 02-Feb-2017 13:19 by Administrator
JSPWiki v2.10.2
TextFormattingRules