Difference between revisions of "Template:CURRENTWEEKDAY/doc"

From blackwiki
Jump to navigation Jump to search
imported>Unicycle77
m
imported>DixonDBot
m (Migrating 5 interwiki links, now provided by Wikidata on d:Q6606678)
Line 25: Line 25:
 
<includeonly>
 
<includeonly>
 
[[Category:Date-computing templates based on current time|{{PAGENAME}}]]
 
[[Category:Date-computing templates based on current time|{{PAGENAME}}]]
[[bn:টেমপ্লেট:CURRENTWEEKDAY]]
 
[[dsb:Pśedłoga:CURRENTWEEKDAY]]
 
[[fr:Modèle:CURRENTWEEKDAY]]
 
[[hsb:Předłoha:CURRENTWEEKDAY]]
 
[[stq:Foarloage:CURRENTWEEKDAY]]
 
 
<includeonly>
 
<includeonly>

Revision as of 03:24, 27 March 2013

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=4
See also:
Template:WEEKDAY
Template:WEEKDAYNAME
Template:WEEKDAYABBREV
Template:CURRENTYEARCC
Template:CURRENTYEARYY
Template:CURRENTCENTURY
Template:CURRENTMONTHDAYS
Template:CURRENTWEEKDAYNAME
Template:CURRENTWEEKDAYABBREV
Template:CURRENTISOYEAR
Template:CURRENTMINUTE
Template:JULIANDAY