Template:CURRENTWEEKDAY

From Wikipedia, the free encyclopedia
Jump to: navigation, search

4

Template documentation[view] [edit] [history] [purge]

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:
{{CURRENTWEEKDAY}}
Note:

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

  • Now: CURRENTDOW=5
See also:
[edit]

  • {{Currentdate}} – Time, day of week, and date in MDY format and time zone
  • {{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