Template:H:Local time variables

From The Scuba Wiki

Jump to: navigation, search
Word Example Explanation
{{LOCALDAY}} 2 Displays the local day of the month in numeric form.
{{LOCALDAY2}} 02 Same as {{LOCALDAY}}, but with a leading zero (01 .. 31).
{{LOCALDAYNAME}} Thursday Name of the day in the language of the project or English.
{{LOCALDOW}} 4 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}} 02:23 The local time (00:00 .. 23:59).
{{LOCALHOUR}} 02 The local hour (00 .. 23).
{{LOCALWEEK}} 18 Number of the local week (1-53) according to ISO 8601 with no leading zero.
{{LOCALYEAR}} 2024 Returns the local year.
{{LOCALTIMESTAMP}} 20240502022322 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.

Personal tools
support the site