Insert dates and times: Difference between revisions
Jump to navigation
Jump to search
Gerald Chi (talk | contribs) mNo edit summary |
Gerald Chi (talk | contribs) m Gerald Chi moved page Insert Dates and Times to Insert dates and times without leaving a redirect |
(No difference)
|
Latest revision as of 14:25, 2 September 2013
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}} | 3
|
Displays the current day in numeric form. |
{{CURRENTDAYNAME}} | Monday
|
Displays the current day in named form. |
{{CURRENTDOW}} | 1
|
Displays the current day as a number of the week (0=Sunday, 1=Monday...). |
{{CURRENTMONTH}} | 02
|
Displays the current month in numeric form. |
{{CURRENTMONTHABBREV}} | Feb
|
Displays the abbreviation of the current month. |
{{CURRENTMONTHNAME}} | February
|
Displays the current month in named form. |
{{CURRENTMONTHNAMEGEN}} | February
|
Displays the name of the current month in genitive form. Wikis that don't support this will default to {{CURRENTMONTHNAME}}. |
{{CURRENTTIME}} | 13:46
|
Displays the current time of day (hours:minutes). |
{{CURRENTWEEK}} | 6
|
Displays the number of the current week (1-52). |
{{CURRENTYEAR}} | 2025
|
Returns the current year. |
An Example
Typing this:
'''It is currently {{CURRENTTIME}}, {{CURRENTDAYNAME}} {{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}'''
Displays this:
It is currently 13:46, Monday February 3, 2025