Difference between revisions of "Template:CURRENTWEEKDAY/doc"

From blackwiki
Jump to navigation Jump to search
imported>Yahia.barie
(bn:টেমপ্লেট:CURRENTWEEKDAY)
imported>Unicycle77
m
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
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, including WEEKDAY, WEEKDAYNAME, and so on...
  
 
; Syntax<nowiki>:</nowiki>
 
; Syntax<nowiki>:</nowiki>
Line 6: Line 6:
  
 
; 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 built-in variable <nowiki>{{CURRENTDOW}}</nowiki> (0..Sunday..6=Saturday) !
 
* Now: CURRENTDOW={{CURRENTDOW}}
 
* Now: CURRENTDOW={{CURRENTDOW}}
  

Revision as of 21:49, 15 May 2012

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