Insert dates and times

Jump to navigation Jump to search

Editor-In-Chief: C. Michael Gibson, M.S., M.D. [1]


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


Word Example Explanation
{{CURRENTDAY}} 24 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}} 06 Displays the current month in numeric form.
{{CURRENTMONTHABBREV}} Jun Displays the abbreviation of the current month.
{{CURRENTMONTHNAME}} June Displays the current month in named form.
{{CURRENTMONTHNAMEGEN}} June Displays the name of the current month in genitive form. Wikis that don't support this will default to {{CURRENTMONTHNAME}}.
{{CURRENTTIME}} 18:44 Displays the current time of day (hours:minutes).
{{CURRENTWEEK}} 26 Displays the number of the current week (1-52).
{{CURRENTYEAR}} 2024 Returns the current year.

An Example

Typing this:


Displays this:

It is currently 18:44, Monday June 24, 2024

Template:WikiDoc Sources