PluginNow
New in Tiki9
A simple wiki plugin to show the current date and time. For examples of date and time format syntax, please see: Date and Time Features
Parameters
Show the current date and timeIntroduced in Tiki 9.
Go to the source code
Preferences required: wikiplugin_now
Parameters | Accepted Values | Description | Default | Since |
---|---|---|---|---|
when |
text | Date time as specified in text using strtotime, i.e. "next month" - documentation here: https://doc.tiki.org/Date-and-Time-Features | 18.2 | |
format |
text | Time format using the PHP format described here: http://https://doc.tiki.org/Date-and-Time-Features | Based site long date and time setting | 9.0 |
allowinvalid |
(blank) n y |
Allow return values that are not a valid date, such as the day of the month | n | 18.3 |
Example
This code:
{now format="%A %e %B %Y %H:%M"}
Would produce:
Friday 19 April 2024 11:22