Template:WEEKDATE2M
Jump to navigation
Jump to search
For a given ISO week date, produces the month.
"{{WEEKDATE2M|2005|52|6}}"
gives "12" [1]"{{WEEKDATE2M|2005|52|7}}"
gives "1" [2]"{{WEEKDATE2M|2006|1|1}}"
gives "1" [3]"{{WEEKDATE2M|2006|4|6}}"
gives "1" [4]"{{WEEKDATE2M|2006|4|7}}"
gives "1" [5]"{{WEEKDATE2M|2006|5|1}}"
gives "1" [6]"{{WEEKDATE2M|2006|5|2}}"
gives "1" [7]"{{WEEKDATE2M|2006|5|3}}"
gives "2" [8]"{{WEEKDATE2M|2006|9|2}}"
gives "2" [9]"{{WEEKDATE2M|2006|9|3}}"
gives "3" [10]"{{WEEKDATE2M|2006|26|5}}"
gives "6" [11]"{{WEEKDATE2M|2006|26|6}}"
gives "7" [12]"{{WEEKDATE2M|2008|1|1}}"
gives "12" [13]"{{WEEKDATE2M|2008|1|2}}"
gives "1" [14]"{{WEEKDATE2M|2008|1|3}}"
gives "1" [15]"{{WEEKDATE2M|2008|5|3}}"
gives "1" [16]"{{WEEKDATE2M|2008|5|4}}"
gives "1" [17]"{{WEEKDATE2M|2008|5|5}}"
gives "2" [18]"{{WEEKDATE2M|2008|9|3}}"
gives "2" [19]"{{WEEKDATE2M|2008|9|4}}"
gives "2" [20]"{{WEEKDATE2M|2008|9|5}}"
gives "2" [21]"{{WEEKDATE2M|2008|9|6}}"
gives "3" [22]
- {{subst:WEEKDATE2M|2008|9|6|subst=subst:}} gives the wikitext 3.
- Template:Dateinfo
- Template:Dateinfo
- Template:Dateinfo
- Template:Dateinfo
- Template:Dateinfo
- Template:Dateinfo
- Template:Dateinfo
See also
- MediaWiki:Template:Weekdate2m
- Template:WEEKDATE2Y –
"{{WEEKDATE2Y|2005|52|7}}"
gives "2006" [23] - Template:WEEKDATE2M –
"{{WEEKDATE2M|2005|52|7}}"
gives "1" [24] - Template:WEEKDATE2D –
"{{WEEKDATE2D|2005|52|7}}"
gives "1" [25] - Template:ISOWEEKDATE2YMD -
"{{ISOWEEKDATE2YMD|2005|52|7}}"
gives "2006-01-01 " [26] - Template:ISOWEEKDATE2Y -
"{{ISOWEEKDATE2Y|2005|52|7}}"
gives "2006" [27] - Template:ISOWEEKDATE2M -
"{{ISOWEEKDATE2M|2005|52|7}}"
gives "01" [28] - Template:ISOWEEKDATE2D -
"{{ISOWEEKDATE2D|2005|52|7}}"
gives "01 " [29]