Template:ISOWEEK/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:ISOWEEK (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Contents

[edit] Usage

[edit] Examples

  • {{ISOWEEK|2005|12|31}} gives 52 [1]Template:Xpd/, and is eqv. with {{ISOWEEK|2006|1|0}} gives 52 [2]Template:Xpd/
  • {{ISOWEEK|2006|1|1}} gives 52 [3]Template:Xpd/
  • {{ISOWEEK|2006|1|2}} gives 01 [4]Template:Xpd/

[edit] Examples where the ISO year is three days into the next gregorian year

  • {{ISOWEEK|2009|12|31}} gives 53 [5]Template:Xpd/
  • {{ISOWEEK|2010|1|1}} gives 53 [6]Template:Xpd/
  • {{ISOWEEK|2010|1|2}} gives 53 [7]Template:Xpd/
  • {{ISOWEEK|2010|1|3}} gives 53 [8]Template:Xpd/
  • {{ISOWEEK|2010|1|4}} gives 01 [9]Template:Xpd/

[edit] Examples where the ISO year is three days into the previous gregorian year

  • {{ISOWEEK|2008|12|28}} gives 52 [10]Template:Xpd/
  • {{ISOWEEK|2008|12|29}} gives 01 [11]Template:Xpd/
  • {{ISOWEEK|2008|12|30}} gives 01 [12]Template:Xpd/
  • {{ISOWEEK|2008|12|31}} gives 01 [13]Template:Xpd/
  • {{ISOWEEK|2009|1|1}} gives 01 [14]Template:Xpd/

{{subst:week2|2006|6|16|subst=subst:}} gave 24

[edit] See also