Insert dates and times

Revision as of 18:12, 15 August 2013 by Gerald Chi (talk | contribs) (Gerald Chi moved page Help:Insert Dates and Times to Insert Dates and Times)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

The table below shows you the syntax to insert a wide range of data and times into a WikiDoc page.

Time

Word Example Explanation
{{CURRENTDAY}} 29 Displays the current day in numeric form.
{{CURRENTDAYNAME}} Monday Displays the current day in named form.
{{CURRENTDOW}} 1 Displays the current day as a number of the week (0=Sunday, 1=Monday...).
{{CURRENTMONTH}} 04 Displays the current month in numeric form.
{{CURRENTMONTHABBREV}} Apr Displays the abbreviation of the current month.
{{CURRENTMONTHNAME}} April Displays the current month in named form.
{{CURRENTMONTHNAMEGEN}} April Displays the name of the current month in genitive form. Wikis that don't support this will default to {{CURRENTMONTHNAME}}.
{{CURRENTTIME}} 05:15 Displays the current time of day (hours:minutes).
{{CURRENTWEEK}} 18 Displays the number of the current week (1-52).
{{CURRENTYEAR}} 2024 Returns the current year.


An Example

Typing this:

'''It is currently {{CURRENTTIME}}, {{CURRENTDAYNAME}} {{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}'''

Displays this:

It is currently 05:15, Monday April 29, 2024


Template:WikiDoc Sources