Insert dates and times

Jump to: navigation, search

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

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}} 17 Displays the current day in numeric form.
{{CURRENTDAYNAME}} Saturday Displays the current day in named form.
{{CURRENTDOW}} 6 Displays the current day as a number of the week (0=Sunday, 1=Monday...).
{{CURRENTMONTH}} 11 Displays the current month in numeric form.
{{CURRENTMONTHABBREV}} Nov Displays the abbreviation of the current month.
{{CURRENTMONTHNAME}} November Displays the current month in named form.
{{CURRENTMONTHNAMEGEN}} November Displays the name of the current month in genitive form. Wikis that don't support this will default to {{CURRENTMONTHNAME}}.
{{CURRENTTIME}} 08:32 Displays the current time of day (hours:minutes).
{{CURRENTWEEK}} 46 Displays the number of the current week (1-52).
{{CURRENTYEAR}} 2018 Returns the current year.


An Example

Typing this:

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

Displays this:

It is currently 08:32, Saturday November 17, 2018



Linked-in.jpg