In order to provide the highest quality information on Wikidoc, we've had to implement a human verification system called ReCaptcha to combat attempts to deface the website. If the Captcha technology proves difficult to use, please send an email to bugs AT wikidoc.org with your username and we will be happy to lift the Captcha requirement from your account. We apologize for any inconvenience.

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}} 17 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}} 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}} 10:19 Displays the current time of day (hours:minutes).
{{CURRENTWEEK}} 20 Displays the number of the current week (1-52).
{{CURRENTYEAR}} 2012 Returns the current year.

An Example

Typing this:

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

Displays this:

It is currently 10:19, Thursday May 17, 2012


Personal tools
Wikidoc Board Review