Help:Insert Dates and Times

You don't need to be Editor-In-Chief to add or edit content to WikiDoc. You can begin to add to or edit text on this WikiDoc page by clicking on the edit button at the top of this page. Next enter or edit the information that you would like to appear here. Once you are done editing, scroll down and click the Save page button at the bottom of the page.

Jump to: navigation, 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}} 7 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}} 16:42 Displays the current time of day (hours:minutes).
{{CURRENTWEEK}} 45 Displays the number of the current week (1-52).
{{CURRENTYEAR}} 2009 Returns the current year.

An Example

Typing this:

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

Displays this:

It is currently 16:42, Saturday November 7, 2009


Personal tools