<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.mtgpq.info/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ADays_after_date</id>
	<title>Template:Days after date - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mtgpq.info/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ADays_after_date"/>
	<link rel="alternate" type="text/html" href="https://wiki.mtgpq.info/w/index.php?title=Template:Days_after_date&amp;action=history"/>
	<updated>2026-06-20T13:18:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.mtgpq.info/w/index.php?title=Template:Days_after_date&amp;diff=8162&amp;oldid=prev</id>
		<title>Volrak at 02:40, 4 March 2019</title>
		<link rel="alternate" type="text/html" href="https://wiki.mtgpq.info/w/index.php?title=Template:Days_after_date&amp;diff=8162&amp;oldid=prev"/>
		<updated>2019-03-04T02:40:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 02:40, 4 March 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l48&quot; &gt;Line 48:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 48:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Days after date|2400|February|28|5}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Days after date|2400|February|28|5}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;gt;&amp;lt;!-- The calculation is ((day of month + day of week - 2) mod (days in month)) + 1&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;{{#expr:(({{{3}}} + {{{4}}} - 2) mod {{&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Days in month|&lt;/ins&gt;{{{2}}}|{{{1}}}}}) + 1}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;--&lt;/del&gt;&amp;gt;{{#expr:(({{{3}}} + {{{4}}} - 2) mod &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;(&amp;lt;!--&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;--&amp;gt;&lt;/del&gt;{{&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;#switch:&lt;/del&gt;{{{2}}}&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;|April |June &lt;/del&gt;|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;September |November=30&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;|February=({{#ifexpr:(((&lt;/del&gt;{{{1}}&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;} mod 4) &amp;gt; 0) or ((({{{1&lt;/del&gt;}}} &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;mod 100) = 0) and (({{{1}}} mod 400) &amp;gt; 0)))|28|29}})&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;|31}})&lt;/del&gt;) + 1}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key pi_wiki:diff::1.12:old-8160:rev-8162 --&gt;
&lt;/table&gt;</summary>
		<author><name>Volrak</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.mtgpq.info/w/index.php?title=Template:Days_after_date&amp;diff=8160&amp;oldid=prev</id>
		<title>Volrak at 02:24, 4 March 2019</title>
		<link rel="alternate" type="text/html" href="https://wiki.mtgpq.info/w/index.php?title=Template:Days_after_date&amp;diff=8160&amp;oldid=prev"/>
		<updated>2019-03-04T02:24:59Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 02:24, 4 March 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot; &gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The first three parameters are the year, month name, and day number of a date which is taken as the start of a week.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The first three parameters are the year, month name, and day number of a date which is taken as the start of a week.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The fourth parameter is a number from 1 to 7 representing the day of the week&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;.&amp;#160; The fourth parameter should be between 1 and 7&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The fourth parameter is a number from 1 to 7 representing the day of the week.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Example==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Example==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key pi_wiki:diff::1.12:old-8159:rev-8160 --&gt;
&lt;/table&gt;</summary>
		<author><name>Volrak</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.mtgpq.info/w/index.php?title=Template:Days_after_date&amp;diff=8159&amp;oldid=prev</id>
		<title>Volrak: Created page with &quot;&lt;noinclude&gt; ==Usage== Returns the numerical day of the month relative to a given date.  The first three parameters are the year, month name, and day number of a date which is...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.mtgpq.info/w/index.php?title=Template:Days_after_date&amp;diff=8159&amp;oldid=prev"/>
		<updated>2019-03-04T01:53:18Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;noinclude&amp;gt; ==Usage== Returns the numerical day of the month relative to a given date.  The first three parameters are the year, month name, and day number of a date which is...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
==Usage==&lt;br /&gt;
Returns the numerical day of the month relative to a given date.&lt;br /&gt;
&lt;br /&gt;
The first three parameters are the year, month name, and day number of a date which is taken as the start of a week.&lt;br /&gt;
&lt;br /&gt;
The fourth parameter is a number from 1 to 7 representing the day of the week.  The fourth parameter should be between 1 and 7.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&lt;br /&gt;
The following shorthand:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{Days after date|2019|January|28|5}}&lt;br /&gt;
{{Days after date|2019|February|28|5}}&lt;br /&gt;
{{Days after date|2019|March|28|5}}&lt;br /&gt;
{{Days after date|2019|April|28|5}}&lt;br /&gt;
{{Days after date|2019|May|28|5}}&lt;br /&gt;
{{Days after date|2019|June|28|5}}&lt;br /&gt;
{{Days after date|2019|July|28|5}}&lt;br /&gt;
{{Days after date|2019|August|28|5}}&lt;br /&gt;
{{Days after date|2019|September|28|5}}&lt;br /&gt;
{{Days after date|2019|October|28|5}}&lt;br /&gt;
{{Days after date|2019|November|28|5}}&lt;br /&gt;
{{Days after date|2019|December|28|5}}&lt;br /&gt;
&lt;br /&gt;
{{Days after date|2020|February|28|5}}&lt;br /&gt;
{{Days after date|2100|February|28|5}}&lt;br /&gt;
{{Days after date|2400|February|28|5}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Produces:&lt;br /&gt;
&lt;br /&gt;
{{Days after date|2019|January|28|5}}&lt;br /&gt;
{{Days after date|2019|February|28|5}}&lt;br /&gt;
{{Days after date|2019|March|28|5}}&lt;br /&gt;
{{Days after date|2019|April|28|5}}&lt;br /&gt;
{{Days after date|2019|May|28|5}}&lt;br /&gt;
{{Days after date|2019|June|28|5}}&lt;br /&gt;
{{Days after date|2019|July|28|5}}&lt;br /&gt;
{{Days after date|2019|August|28|5}}&lt;br /&gt;
{{Days after date|2019|September|28|5}}&lt;br /&gt;
{{Days after date|2019|October|28|5}}&lt;br /&gt;
{{Days after date|2019|November|28|5}}&lt;br /&gt;
{{Days after date|2019|December|28|5}}&lt;br /&gt;
&lt;br /&gt;
{{Days after date|2020|February|28|5}}&lt;br /&gt;
{{Days after date|2100|February|28|5}}&lt;br /&gt;
{{Days after date|2400|February|28|5}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;!-- The calculation is ((day of month + day of week - 2) mod (days in month)) + 1&lt;br /&gt;
--&amp;gt;{{#expr:(({{{3}}} + {{{4}}} - 2) mod (&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#switch:{{{2}}}&lt;br /&gt;
|April |June |September |November=30&lt;br /&gt;
|February=({{#ifexpr:((({{{1}}} mod 4) &amp;gt; 0) or ((({{{1}}} mod 100) = 0) and (({{{1}}} mod 400) &amp;gt; 0)))|28|29}})&lt;br /&gt;
|31}})) + 1}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Volrak</name></author>
		
	</entry>
</feed>