Difference between revisions of "Template:CURRENTWEEKDAY/doc"

From blackwiki
Jump to navigation Jump to search
imported>Verdy p
m (Created page with '{{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 WEEKD...')
 
imported>Verdy p
m
Line 1: Line 1:
 
{{Template doc page}}
 
{{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...
 
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<nowiki>:</nowiki>
 +
: <tt><nowiki>{{CURRENTWEEKDAY}}</nowiki></tt>
  
 
; Note<nowiki>:</nowiki>
 
; Note<nowiki>:</nowiki>
 
For the US week numbering use the builtin variable <nowiki>{{CURRENTDOW}}</nowiki> (0..Sunday..6=Saturday) !
 
For the US week numbering use the builtin variable <nowiki>{{CURRENTDOW}}</nowiki> (0..Sunday..6=Saturday) !
 
* Now: CURRENTDOW={{CURRENTDOW}}
 
* Now: CURRENTDOW={{CURRENTDOW}}
 
; Syntax<nowiki>:</nowiki>
 
: <tt><nowiki>{{CURRENTWEEKDAY}}</nowiki></tt>
 
  
 
; See also<nowiki>:</nowiki>
 
; See also<nowiki>:</nowiki>

Revision as of 06:45, 6 December 2008

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=0
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