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.
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}} | 20
| Displays the current day in numeric form. |
| {{CURRENTDAYNAME}} | Friday
| Displays the current day in named form. |
| {{CURRENTDOW}} | 5
| 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}} | 21:49
| Displays the current time of day (hours:minutes). |
| {{CURRENTWEEK}} | 47
| 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 21:49, Friday November 20, 2009

