Template:CURRENTWEEKDAY/doc
| This is a documentation subpage for Template:CURRENTWEEKDAY. It may contain usage information, categories and other content that is not part of the original template page. |
__EXPECTED_UNCONNECTED_PAGE__
Returns the ISO week date day number (1=Monday..7=Sunday). This number is coherent with all the ISO-based calendar templates, including {{WEEKDAY}}, {{WEEKDAYNAME}}, and so on...
This template can be substituted.
Usage
{{CURRENTWEEKDAY}}→ 6- (the day number as of 31 October 2026)
Note
For the US week numbering use the built-in variable {{CURRENTDOW}} (0=Sunday..6=Saturday) !
- Now:
{{CURRENTDOW}}→ 6
See also
- For the magic words with the same or similar names, see MediaWikiWiki:Help:Magic words#Date and time.
Multiple units of time
| Type | Adjustable | Current | Last | Next |
|---|---|---|---|---|
| Date and time |
|
|
||
| Date only | ||||
| Month and year only |
|
| ||
| Time only |
|
|
||
| Banners |
|
|||
| Timestamp |
|
Single units of time
| Unit of time | Adjustable | Current | Last | Next |
|---|---|---|---|---|
| Second |
|
|
||
| Minute |
|
|
||
| Hour |
|
|
||
| Week |
|
|||
| Day of Week |
|
|
||
| Month |
|
|
|
|
| Day of Month |
|
|||
| Year |
|
|
| |
| Day of Year |
|
|||
| Decade |
|
|
||
| Century |
|
|
||
| Millenium |
|
Date and time templates made for substitution
Parser functions
- mw:Special:MyLanguage/time permits a custom time specifier string, similar to the C date and time functions
Individual templates
- {{Calendar}}
- {{Calendar clock with Wikipedia stats}}
- {{Clock}}
- {{Digital clock}}
- {{Digital clock and date}}
- {{Clock (digital)}}
- {{Clock (analog)}}
- {{Infobox calendar date}}
Categories of templates
- Category:Time, date and calendar templates
- Category:Date-computing templates
- Category:Date-computing templates based on current time
- Category:ISO date templates
- Category:Calendar templates