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}} 14 Displays the current day in numeric form.
{{CURRENTDAYNAME}} Thursday Displays the current day in named form.
{{CURRENTDOW}} 4 Displays the current day as a number of the week (0=Sunday, 1=Monday...).
{{CURRENTMONTH}} 12 Displays the current month in numeric form.
{{CURRENTMONTHABBREV}} Dec Displays the abbreviation of the current month.
{{CURRENTMONTHNAME}} December Displays the current month in named form.
{{CURRENTMONTHNAMEGEN}} December Displays the name of the current month in genitive form. Wikis that don't support this will default to {{CURRENTMONTHNAME}}.
{{CURRENTTIME}} 21:03 Displays the current time of day (hours:minutes).
{{CURRENTWEEK}} 50 Displays the number of the current week (1-52).
{{CURRENTYEAR}} 2017 Returns the current year.

An Example

Typing this:

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

Displays this:

It is currently 21:03, Thursday December 14, 2017



Linked-in.jpg