Template:H:Current time variables

From The Scuba Wiki

Revision as of 12:18, 8 February 2007 by Rfc1394 (Talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Word Example Explanation
{{CURRENTDAY}} 2 Displays the current day in numeric form.
{{CURRENTDAY2}} 02 [MW1.6+] Same as {{CURRENTDAY}}, but with leading zero (01 .. 31).
{{CURRENTDAYNAME}} Sunday Name of the day in the language of the project or English.
{{CURRENTDOW}} 0 Same as {{CURRENTDAYNAME}}, but as a number (0=Sunday, 1=Monday...).
{{CURRENTMONTH}} 06 The number 01 .. 12 of the month.
{{CURRENTMONTHABBREV}} Jun [MW1.5+] Same as {{CURRENTMONTH}}, but in abbreviated form as Jan .. Dec.
{{CURRENTMONTHNAME}} June Same as {{CURRENTMONTH}}, but in named form January .. December.
{{CURRENTTIME}} 02:14 The current time (00:00 .. 23:59).
{{CURRENTHOUR}} 02 The current hour (00 .. 23).
{{CURRENTWEEK}} 22 Number of the current week (1-53) according to ISO 8601 with no leading zero.
{{CURRENTYEAR}} 2024 Returns the current year.
{{CURRENTTIMESTAMP}} 20240602021423 [MW1.7+] ISO 8601 time stamp.
Template:-


Note to future editors: this page is referenced from help pages so that all references to this table can use the same information so that different help pages that reference this table don't have different information.

support the site