Jump to content

Template:Week2

From Meta, a Wikimedia project coordination wiki


Examples

[edit]
  • "{{week2|2005|12|31}}" gives "52" [1], and is eqv. with "{{week2|2006|1|0}}" gives "52" [2]
  • "{{week2|2006|1|1}}" gives "52" [3]
  • "{{week2|2006|1|2}}" gives "01" [4]

Examples where the ISO year is three days into the next gregorian year

[edit]
  • "{{week2|2009|12|31}}" gives "53" [5]
  • "{{week2|2010|1|1}}" gives "53" [6]
  • "{{week2|2010|1|2}}" gives "53" [7]
  • "{{week2|2010|1|3}}" gives "53" [8]
  • "{{week2|2010|1|4}}" gives "01" [9]

Examples where the ISO year is three days into the previous gregorian year

[edit]
  • "{{week2|2008|12|28}}" gives "52" [10]
  • "{{week2|2008|12|29}}" gives "01" [11]
  • "{{week2|2008|12|30}}" gives "01" [12]
  • "{{week2|2008|12|31}}" gives "01" [13]
  • "{{week2|2009|1|1}}" gives "01" [14]

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

See also

[edit]