Template:ISOWEEKDATE/doc
From Wikipedia, the free encyclopedia
Contents |
[edit] Usage
[edit] Examples
{{ISOWEEKDATE|2005|12|31}}
gives 2005-W52-6 [1] , and is eqv. with{{ISOWEEKDATE|2006|1|0}}
gives 2005-W52-6 [2]{{ISOWEEKDATE|2006|1|1}}
gives 2005-W52-7 [3]{{ISOWEEKDATE|2006|1|2}}
gives 2006-W01-1 [4]
[edit] Examples where the ISO year is three days into the next gregorian year
{{ISOWEEKDATE|2009|12|31}}
gives 2009-W53-4 [5]{{ISOWEEKDATE|2010|1|1}}
gives 2009-W53-5 [6]{{ISOWEEKDATE|2010|1|2}}
gives 2009-W53-6 [7]{{ISOWEEKDATE|2010|1|3}}
gives 2009-W53-7 [8]{{ISOWEEKDATE|2010|1|4}}
gives 2010-W01-1 [9]
[edit] Examples where the ISO year is three days into the previous gregorian year
{{ISOWEEKDATE|2008|12|28}}
gives 2008-W52-7 [10]{{ISOWEEKDATE|2008|12|29}}
gives 2009-W01-1 [11]{{ISOWEEKDATE|2008|12|30}}
gives 2009-W01-2 [12]{{ISOWEEKDATE|2008|12|31}}
gives 2009-W01-3 [13]{{ISOWEEKDATE|2009|1|1}}
gives 2009-W01-4 [14]
[edit] See also
- Template based upon MediaWiki:Template:Weekdate
- 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 -