Revision 79980 of "ଛାଞ୍ଚ:WEEKDATE2D" on orwiki<includeonly>{{{{{subst|}}}#expr:
10*
(7*{{{2}}}+{{{3}}}-10+
(700000006 - {{{1}}} -
((({{{1}}}-1
)/4 -0.499
) round 0
) +
({{{1}}}>=250
) *
( 5 +
((({{{1}}}-1
)/100 -0.499
) round 0
) -
(({{{1}}}-1
)/400 -0.499
) round 0
)) mod 7-59.5 +
{{{{{subst|}}}#ifexpr:7*{{{2}}}+{{{3}}}-10+
((700000006 - {{{1}}} -
((({{{1}}}-1
)/4 -0.499
) round 0
) +
({{{1}}}>=250
) *
( 5 +
((({{{1}}}-1
)/100 -0.499
) round 0
) -
(({{{1}}}-1
)/400 -0.499
) round 0
)) mod 7
)-59.5-
(((({{{1}}}
) mod 4 = 0
) and
(({{{1}}}
) mod 100 != 0
)) or
(({{{1}}}
) mod 400 = 0
)) <0
|365
|(-
(((({{{1}}}
) mod 4 = 0
) and
(({{{1}}}
) mod 100 != 0
)) or
(({{{1}}}
) mod 400 = 0
)))
}}
) mod 306
/10+0.5 round 0
}}</includeonly><noinclude>
For a given [[ISO week date]], produces the day of the month.
*{{evd|WEEKDATE2D|2005|52|7}}
*<nowiki>{{subst:WEEKDATE2D|2008|9|6|subst=subst:}}</nowiki> gives the wikitext 1.
*{{WEEKDATE2D|2005|1|1}}
==See also==
* [[Template:WEEKDATE2Y]] – {{evd|WEEKDATE2Y|2005|52|7}}
* [[Template:WEEKDATE2M]] – {{evd|WEEKDATE2M|2005|52|7}}
* [[Template:WEEKDATE2D]] – {{evd|WEEKDATE2D|2005|52|7}}
* [[Template:ISOWEEKDATE2YMD]] - {{evd|ISOWEEKDATE2YMD|2005|52|7}}
* [[Template:ISOWEEKDATE2Y]] - {{evd|ISOWEEKDATE2Y|2005|52|7}}
* [[Template:ISOWEEKDATE2M]] - {{evd|ISOWEEKDATE2M|2005|52|7}}
* [[Template:ISOWEEKDATE2D]] - {{evd|ISOWEEKDATE2D|2005|52|7}}
*{{tim|weekdate2ymd}}
*{{tim|weekdate2mjd demo}}
[[Category:Calendar templates|{{PAGENAME}}]]
[[Category:Date-computing templates|{{PAGENAME}}]]
[[ja:Template:WEEKDATE2D]]
[[km:ទំព័រគំរូ:WEEKDATE2D]]
[[ml:ഫലകം:WEEKDATE2D]]
[[no:Mal:WEEKDATE2D]]
</noinclude>All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://or.wikipedia.org/w/index.php?oldid=79980.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|