Insert dates and times: Difference between revisions
Jump to navigation
Jump to search
Gerald Chi (talk | contribs) m (Gerald Chi moved page Help:Insert Dates and Times to Insert Dates and Times) |
(No difference)
|
Revision as of 18:12, 15 August 2013
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}} | Tuesday
|
Displays the current day in named form. |
{{CURRENTDOW}} | 2
|
Displays the current day as a number of the week (0=Sunday, 1=Monday...). |
{{CURRENTMONTH}} | 05
|
Displays the current month in numeric form. |
{{CURRENTMONTHABBREV}} | May
|
Displays the abbreviation of the current month. |
{{CURRENTMONTHNAME}} | May
|
Displays the current month in named form. |
{{CURRENTMONTHNAMEGEN}} | May
|
Displays the name of the current month in genitive form. Wikis that don't support this will default to {{CURRENTMONTHNAME}}. |
{{CURRENTTIME}} | 07:47
|
Displays the current time of day (hours:minutes). |
{{CURRENTWEEK}} | 20
|
Displays the number of the current week (1-52). |
{{CURRENTYEAR}} | 2024
|
Returns the current year. |
An Example
Typing this:
'''It is currently {{CURRENTTIME}}, {{CURRENTDAYNAME}} {{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}'''
Displays this:
It is currently 07:47, Tuesday May 14, 2024