Template:ISOWEEK/doc
From Wikipedia, the free encyclopedia
Contents |
[edit] Usage
[edit] Examples
{{ISOWEEK|2005|12|31}}
gives 52 [1] , and is eqv. with{{ISOWEEK|2006|1|0}}
gives 52 [2]{{ISOWEEK|2006|1|1}}
gives 52 [3]{{ISOWEEK|2006|1|2}}
gives 01 [4]
[edit] Examples where the ISO year is three days into the next gregorian year
{{ISOWEEK|2009|12|31}}
gives 53 [5]{{ISOWEEK|2010|1|1}}
gives 53 [6]{{ISOWEEK|2010|1|2}}
gives 53 [7]{{ISOWEEK|2010|1|3}}
gives 53 [8]{{ISOWEEK|2010|1|4}}
gives 01 [9]
[edit] Examples where the ISO year is three days into the previous gregorian year
{{ISOWEEK|2008|12|28}}
gives 52 [10]{{ISOWEEK|2008|12|29}}
gives 01 [11]{{ISOWEEK|2008|12|30}}
gives 01 [12]{{ISOWEEK|2008|12|31}}
gives 01 [13]{{ISOWEEK|2009|1|1}}
gives 01 [14]
{{subst:week2|2006|6|16|subst=subst:}} gave 24
[edit] See also
- Template based upon MediaWiki:Template:Week2
- Template:ISOWEEKDATE -
{{ISOWEEKDATE|2010|01|03}}
gives 2009-W53-7 [15] The opposite function of {{ISOWEEKDATE2YMD}}
-
- Template:ISOYEAR -
{{ISOYEAR|2010|01|03}}
gives 2009 [16] - Template:ISOWEEK -
{{ISOWEEK|2010|01|03}}
gives 53 [17] - Template:ISOWEEKDAY -
{{ISOWEEKDAY|2010|01|03}}
gives 7 [18]
- Template:ISOYEAR -
- Template:ISOWEEKDATE2YMD -
{{ISOWEEKDATE2YMD|2009|53|7}}
gives 2010-01-03 [19] The opposite function of {{ISOWEEKDATE}}
-
- Template:ISOWEEKDATE2Y -
{{ISOWEEKDATE2Y|2009|53|7}}
gives 2010 [20] - Template:ISOWEEKDATE2M -
{{ISOWEEKDATE2M|2009|53|7}}
gives 01 [21] - Template:ISOWEEKDATE2D -
{{ISOWEEKDATE2D|2009|53|7}}
gives 03 [22]
- Template:ISOWEEKDATE2Y -