Template:H:Local time variables

From Meta, a Wikimedia project coordination wiki
Jump to: navigation, search
Word Example Explanation
{{LOCALDAY}} 26 Displays the local day of the month in numeric form.
{{LOCALDAY2}} 26 Same as {{LOCALDAY}}, but with a leading zero (01 .. 31).
{{LOCALDAYNAME}} Saturday Name of the day in the language of the project or English.
{{LOCALDOW}} 6 Same as {{LOCALDAYNAME}}, but as a number (0=Sunday, 1=Monday...).
{{LOCALMONTH}} 05 The number 01 .. 12 of the month.
{{LOCALMONTHABBREV}} May Same as {{LOCALMONTH}}, but in abbreviated form as Jan .. Dec.
{{LOCALMONTHNAME}} May Same as {{LOCALMONTH}}, but in named form as January .. December.
{{LOCALTIME}} 22:01 The local time (00:00 .. 23:59).
{{LOCALHOUR}} 22 The local hour (00 .. 23).
{{LOCALWEEK}} 21 Number of the local week (1-53) according to ISO 8601 with no leading zero.
{{LOCALYEAR}} 2012 Returns the local year.
{{LOCALTIMESTAMP}} 20120526220121 ISO 8601 time stamp.



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.

Personal tools
Namespaces

Variants
Actions
Navigation
Community
Beyond the Web
Toolbox