Difference between revisions of "Template:CURRENTWEEKDAY/doc"

From blackwiki
Jump to navigation Jump to search
imported>Tlustulimu
m (interwiki)
imported>Tlustulimu
m (interwiki)
Line 25: Line 25:
 
<includeonly>
 
<includeonly>
 
[[Category:Date-computing templates based on current time|{{PAGENAME}}]]
 
[[Category:Date-computing templates based on current time|{{PAGENAME}}]]
 +
[[dsb:Pśedłoga:CURRENTWEEKDAY]]
 
[[fr:Modèle:CURRENTWEEKDAY]]
 
[[fr:Modèle:CURRENTWEEKDAY]]
 
[[hsb:Předłoha:CURRENTWEEKDAY]]
 
[[hsb:Předłoha:CURRENTWEEKDAY]]
 +
[[stq:Foarloage:CURRENTWEEKDAY]]
 
<includeonly>
 
<includeonly>

Revision as of 18:08, 2 January 2010

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

Syntax:
{{CURRENTWEEKDAY}}
Note:

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

  • Now: CURRENTDOW=5
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