Template:CURRENTWEEKDAY/doc

From Vixrapedia
Jump to navigation Jump to search

Returns the ISO week day number (0=Monday..6=Sunday). This number is coherent with all the ISO-based calendar templates, including WEEKDAY, WEEKDAYNAME, and so on...

Syntax[edit]

{{CURRENTWEEKDAY}}

Note[edit]

For the US week numbering use the built-in variable {{CURRENTDOW}} (0..Sunday..6=Saturday) !

  • Now: CURRENTDOW=1

See also[edit]

[edit]

  • {{Currentdate}} – Time, day of week, and date in MDY format
  • {{Date}} – Date in chosen format
  • {{DATE}} – Month and year, prefixed by "date=" (for use with templates through substitution)
  • {{Now}} – Same as {{Currentdate}} but in a sentence
  • {{Plain now}} – Date in DMY format, and time
  • {{Right now}} – Blue banner with time and current number of Wikipedia articles
  • {{Right now (User message)}} – Orange banner with time and current number of Wikipedia articles
  • {{TODAY}} – Date in DMY