Template:CURRENTWEEKDAY/doc

Revision as of 09:22, 30 January 2026 by Wikipedia>Andrybak (→Usage: fix punctuation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

__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
  • {{Timeonly}} (Adjustable to 12 h format)
Banners
  • {{Right now}}
    (Blue with time and number of Wikipedia articles)
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

Individual templates

Categories of templates