ទំព័រគំរូ:ISOWEEKDATE2YMD/doc
This is a documentation subpage for ទំព័រគំរូ:ISOWEEKDATE2YMD. It may contain usage information, categories and other content that is not part of the original ទំព័រគំរូ page. |
Usage
កែប្រែFor a given ISO week date, produces the Gregorian date with leading Zeros [YYYY]-[MM]-[DD].
Examples
កែប្រែ"{{ISOWEEKDATE2YMD|2005|52|6}}"
gives "2005-12-31 " [១], and is equal to"{{ISOWEEKDATE|2006|1|0}}"
gives "2005-W52-6" [២]"{{ISOWEEKDATE2YMD|2005|52|7}}"
gives "2006-01-01 " [៣]"{{ISOWEEKDATE2YMD|2006|01|01}}"
gives "2006-01-02 " [៤]
Examples where the ISO year goes tree days into the next Gregorian year
កែប្រែ"{{ISOWEEKDATE2YMD|2009|53|4}}"
gives "2009-12-31 " [៥]"{{ISOWEEKDATE2YMD|2009|53|5}}"
gives "2010-01-01 " [៦]"{{ISOWEEKDATE2YMD|2009|53|6}}"
gives "2010-01-02 " [៧]"{{ISOWEEKDATE2YMD|2009|53|7}}"
gives "2010-01-03 " [៨]"{{ISOWEEKDATE2YMD|2010|01|1}}"
gives "2010-01-04 " [៩]
Examples where the ISO year goes tree days into the prior Gregorian year
កែប្រែ"{{ISOWEEKDATE2YMD|2008|52|7}}"
gives "2008-12-28 " [១០]"{{ISOWEEKDATE2YMD|2009|01|1}}"
gives "2008-12-29 " [១១]"{{ISOWEEKDATE2YMD|2009|01|2}}"
gives "2008-12-30 " [១២]"{{ISOWEEKDATE2YMD|2009|01|3}}"
gives "2008-12-31 " [១៣]"{{ISOWEEKDATE2YMD|2009|01|4}}"
gives "2009-01-01 " [១៤]
See also
កែប្រែ- MediaWiki:Template:ISOWeekdate2ymd
- Template:ISOWEEKDATE -
"{{ISOWEEKDATE|2010|01|03}}"
gives "2009-W53-7" [១៥] The opposite function of {{ISOWEEKDATE2YMD}}
- Template:ISOYEAR -
"{{ISOYEAR|2010|01|03}}"
gives "2009" [១៦] - Template:ISOWEEK -
"{{ISOWEEK|2010|01|03}}"
gives "53" [១៧] - Template:ISOWEEKDAY -
"{{ISOWEEKDAY|2010|01|03}}"
gives "7" [១៨]
- Template:ISOYEAR -
- Template:ISOWEEKDATE2YMD -
"{{ISOWEEKDATE2YMD|2009|53|7}}"
gives "2010-01-03 " [១៩] The opposite function of {{ISOWEEKDATE}}
- Template:ISOWEEKDATE2Y -
"{{ISOWEEKDATE2Y|2009|53|7}}"
gives "2010" [២០] - Template:ISOWEEKDATE2M -
"{{ISOWEEKDATE2M|2009|53|7}}"
gives "01" [២១] - Template:ISOWEEKDATE2D -
"{{ISOWEEKDATE2D|2009|53|7}}"
gives "03 " [២២]
- Template:ISOWEEKDATE2Y -
- Template:WEEKDATE2Y –
"{{WEEKDATE2Y|2005|52|7}}"
gives "2006" [២៣] - Template:WEEKDATE2M –
"{{WEEKDATE2M|2005|52|7}}"
gives "1" [២៤] - Template:WEEKDATE2D –
"{{WEEKDATE2D|2005|52|7}}"
gives "1" [២៥]