Loading...
 

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

Introduced 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://secure.php.net/manual/en/function.strtotime.php 18.2
format text Time format using the PHP format described here: http://www.php.net/manual/en/function.strftime.php 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:
Tuesday 16 August 2022 16:45

Related

List Slides