https://geohashing.site/index.php?title=Template:Dow_holiday&feed=atom&action=history
Template:Dow holiday - Revision history
2024-03-29T07:05:22Z
Revision history for this page on the wiki
MediaWiki 1.31.6
https://geohashing.site/index.php?title=Template:Dow_holiday&diff=804868&oldid=prev
Tjtrumpet2323: Add Juneteenth beginning in June 2022, now that it's officially published as an NYSE holiday.
2021-10-17T15:43:45Z
<p>Add Juneteenth beginning in June 2022, now that it's officially published as an NYSE holiday.</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 15:43, 17 October 2021</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l5" >Line 5:</td>
<td colspan="2" class="diff-lineno">Line 5:</td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>  | 4 = {{#ifexpr: ({{#time:Ymd|{{#var:qdate}}}} = {{#time:Ymd|{{Easter|{{#time:Y|{{#var:qdate}}}}}} -2 days}}) | 1 | 0}}</div></td><td class='diff-marker'> </td><td style="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;"><div>  | 4 = {{#ifexpr: ({{#time:Ymd|{{#var:qdate}}}} = {{#time:Ymd|{{Easter|{{#time:Y|{{#var:qdate}}}}}} -2 days}}) | 1 | 0}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>  | 5 = {{#ifexpr: ({{#time:j|{{#var:qdate}}}} = {{weekday in month|{{#time:Y|{{#var:qdate}}}}|5|1|-1}}) | 1 | 0}}</div></td><td class='diff-marker'> </td><td style="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;"><div>  | 5 = {{#ifexpr: ({{#time:j|{{#var:qdate}}}} = {{weekday in month|{{#time:Y|{{#var:qdate}}}}|5|1|-1}}) | 1 | 0}}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div>  | 6 = 0</div></td><td class='diff-marker'>+</td><td style="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;"><div>  | 6 = <ins class="diffchange diffchange-inline">{{#ifexpr: ({{#time:Y|{{#var:qdate}}}} >= 2022) | {{#ifexpr: ({{#time:j|{{#var:qdate}}}} = 18 and {{#time:N|{{#var:qdate}}}} = 5) or ({{#time:j|{{#var:qdate}}}} = 19 and {{#var:weekday}} = 1) or ({{#time:j|{{#var:qdate}}}} = 20 and {{#time:N|{{#var:qdate}}}} = 1) | 1 | </ins>0<ins class="diffchange diffchange-inline">}} | 0}}</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>  | 7 = {{#ifexpr: ({{#time:j|{{#var:qdate}}}} = 3 and {{#time:N|{{#var:qdate}}}} = 5) or ({{#time:j|{{#var:qdate}}}} = 4 and {{#var:weekday}} = 1) or ({{#time:j|{{#var:qdate}}}} = 5 and {{#time:N|{{#var:qdate}}}} = 1) | 1 | 0}}</div></td><td class='diff-marker'> </td><td style="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;"><div>  | 7 = {{#ifexpr: ({{#time:j|{{#var:qdate}}}} = 3 and {{#time:N|{{#var:qdate}}}} = 5) or ({{#time:j|{{#var:qdate}}}} = 4 and {{#var:weekday}} = 1) or ({{#time:j|{{#var:qdate}}}} = 5 and {{#time:N|{{#var:qdate}}}} = 1) | 1 | 0}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>  | 8 = 0</div></td><td class='diff-marker'> </td><td style="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;"><div>  | 8 = 0</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l20" >Line 20:</td>
<td colspan="2" class="diff-lineno">Line 20:</td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>** Weekends return 0 and are not treated as holidays, as they can be programmatically handled by other templates.</div></td><td class='diff-marker'> </td><td style="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;"><div>** Weekends return 0 and are not treated as holidays, as they can be programmatically handled by other templates.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>** All holidays are systematically and calculationally determined.</div></td><td class='diff-marker'> </td><td style="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;"><div>** All holidays are systematically and calculationally determined.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="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;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="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;"><div><ins style="font-weight: bold; text-decoration: none;">=== Notes ===</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="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;"><div><ins style="font-weight: bold; text-decoration: none;">* '''This template is only explicitly valid from 2008 through the reasonably expected future.'''</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="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;"><div><ins style="font-weight: bold; text-decoration: none;">** This template incorporates [https://en.wikipedia.org/wiki/Juneteenth Juneteenth National Independence Day] with effect from June 2022.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="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;"><div><ins style="font-weight: bold; text-decoration: none;">* While NYSE holidays were generally stable for some time before the creation of Geohashing in 2008, this template applies all holidays observed at that time proleptically into the indefinite past.  It does not contemplate, for example, when precisely among its various stages of recognition and adoption the NYSE began observing [https://en.wikipedia.org/wiki/Martin_Luther_King_Jr._Day Martin Luther King, Jr. Day].</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"></td><td class='diff-marker'> </td><td style="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;"></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>== See also ==</div></td><td class='diff-marker'> </td><td style="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;"><div>== See also ==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div>[<del class="diffchange diffchange-inline">http</del>://www.nyse.com/<del class="diffchange diffchange-inline">about</del>/<del class="diffchange diffchange-inline">newsevents/1176373643795.html?sa_campaign=/internal_ads/callouts/holidays </del>NYSE Calendar]</div></td><td class='diff-marker'>+</td><td style="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;"><div>[<ins class="diffchange diffchange-inline">https</ins>://www.nyse.com/<ins class="diffchange diffchange-inline">markets</ins>/<ins class="diffchange diffchange-inline">hours-calendars </ins>NYSE Calendar]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div></noinclude></div></td><td class='diff-marker'> </td><td style="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;"><div></noinclude></div></td></tr>
</table>
Tjtrumpet2323
https://geohashing.site/index.php?title=Template:Dow_holiday&diff=80553&oldid=prev
imported>Mattyk: renamed variable 'date' to 'qdate', for namespace issues.
2008-12-10T01:24:29Z
<p>renamed variable 'date' to 'qdate', for namespace issues.</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 01:24, 10 December 2008</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div><includeonly>{{#vardefine:<del class="diffchange diffchange-inline">date</del>|{{{1|{{CURRENTTIMESTAMP}}}}}}}{{#ifexpr: {{#time:N|{{#var:<del class="diffchange diffchange-inline">date</del>}}}} <= 5 | {{#vardefine:weekday|1}} | {{#vardefine:weekday|0}} }}{{#switch: {{#time:m|{{#var:<del class="diffchange diffchange-inline">date</del>}}}}</div></td><td class='diff-marker'>+</td><td style="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;"><div><includeonly>{{#vardefine:<ins class="diffchange diffchange-inline">qdate</ins>|{{{1|{{CURRENTTIMESTAMP}}}}}}}{{#ifexpr: {{#time:N|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}} <= 5 | {{#vardefine:weekday|1}} | {{#vardefine:weekday|0}} }}{{#switch: {{#time:m|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div>  | 1 = {{#ifexpr: ({{#time:j|{{#var:<del class="diffchange diffchange-inline">date</del>}}}} = 1 and {{#var:weekday}} = 1) or ({{#time:j|{{#var:<del class="diffchange diffchange-inline">date</del>}}}} = 2 and {{#time:N|{{#var:<del class="diffchange diffchange-inline">date</del>}}}} = 1) or ({{#time:j|{{#var:<del class="diffchange diffchange-inline">date</del>}}}} = {{weekday in month|{{#time:Y|{{#var:<del class="diffchange diffchange-inline">date</del>}}}}|1|1|3}}) | 1 | 0}}</div></td><td class='diff-marker'>+</td><td style="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;"><div>  | 1 = {{#ifexpr: ({{#time:j|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}} = 1 and {{#var:weekday}} = 1) or ({{#time:j|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}} = 2 and {{#time:N|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}} = 1) or ({{#time:j|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}} = {{weekday in month|{{#time:Y|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}}|1|1|3}}) | 1 | 0}}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div>  | 2 = {{#ifexpr: ({{#time:j|{{#var:<del class="diffchange diffchange-inline">date</del>}}}} = {{weekday in month|{{#time:Y|{{#var:<del class="diffchange diffchange-inline">date</del>}}}}|2|1|3}}) | 1 | 0}}</div></td><td class='diff-marker'>+</td><td style="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;"><div>  | 2 = {{#ifexpr: ({{#time:j|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}} = {{weekday in month|{{#time:Y|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}}|2|1|3}}) | 1 | 0}}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div>  | 3 = {{#ifexpr: ({{#time:Ymd|{{#var:<del class="diffchange diffchange-inline">date</del>}}}} = {{#time:Ymd|{{Easter|{{#time:Y|{{#var:<del class="diffchange diffchange-inline">date</del>}}}}}} -2 days}}) | 1 | 0}}</div></td><td class='diff-marker'>+</td><td style="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;"><div>  | 3 = {{#ifexpr: ({{#time:Ymd|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}} = {{#time:Ymd|{{Easter|{{#time:Y|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}}}} -2 days}}) | 1 | 0}}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div>  | 4 = {{#ifexpr: ({{#time:Ymd|{{#var:<del class="diffchange diffchange-inline">date</del>}}}} = {{#time:Ymd|{{Easter|{{#time:Y|{{#var:<del class="diffchange diffchange-inline">date</del>}}}}}} -2 days}}) | 1 | 0}}</div></td><td class='diff-marker'>+</td><td style="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;"><div>  | 4 = {{#ifexpr: ({{#time:Ymd|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}} = {{#time:Ymd|{{Easter|{{#time:Y|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}}}} -2 days}}) | 1 | 0}}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div>  | 5 = {{#ifexpr: ({{#time:j|{{#var:<del class="diffchange diffchange-inline">date</del>}}}} = {{weekday in month|{{#time:Y|{{#var:<del class="diffchange diffchange-inline">date</del>}}}}|5|1|-1}}) | 1 | 0}}</div></td><td class='diff-marker'>+</td><td style="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;"><div>  | 5 = {{#ifexpr: ({{#time:j|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}} = {{weekday in month|{{#time:Y|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}}|5|1|-1}}) | 1 | 0}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>  | 6 = 0</div></td><td class='diff-marker'> </td><td style="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;"><div>  | 6 = 0</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div>  | 7 = {{#ifexpr: ({{#time:j|{{#var:<del class="diffchange diffchange-inline">date</del>}}}} = 3 and {{#time:N|{{#var:<del class="diffchange diffchange-inline">date</del>}}}} = 5) or ({{#time:j|{{#var:<del class="diffchange diffchange-inline">date</del>}}}} = 4 and {{#var:weekday}} = 1) or ({{#time:j|{{#var:<del class="diffchange diffchange-inline">date</del>}}}} = 5 and {{#time:N|{{#var:<del class="diffchange diffchange-inline">date</del>}}}} = 1) | 1 | 0}}</div></td><td class='diff-marker'>+</td><td style="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;"><div>  | 7 = {{#ifexpr: ({{#time:j|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}} = 3 and {{#time:N|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}} = 5) or ({{#time:j|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}} = 4 and {{#var:weekday}} = 1) or ({{#time:j|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}} = 5 and {{#time:N|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}} = 1) | 1 | 0}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>  | 8 = 0</div></td><td class='diff-marker'> </td><td style="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;"><div>  | 8 = 0</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div>  | 9 = {{#ifexpr: ({{#time:j|{{#var:<del class="diffchange diffchange-inline">date</del>}}}} = {{weekday in month|{{#time:Y|{{#var:<del class="diffchange diffchange-inline">date</del>}}}}|9|1|1}}) | 1 | 0}}</div></td><td class='diff-marker'>+</td><td style="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;"><div>  | 9 = {{#ifexpr: ({{#time:j|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}} = {{weekday in month|{{#time:Y|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}}|9|1|1}}) | 1 | 0}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>  | 10 = 0</div></td><td class='diff-marker'> </td><td style="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;"><div>  | 10 = 0</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div>  | 11 = {{#ifexpr: ({{#time:j|{{#var:<del class="diffchange diffchange-inline">date</del>}}}} = {{weekday in month|{{#time:Y|{{#var:<del class="diffchange diffchange-inline">date</del>}}}}|11|4|4}}) | 1 | 0}}</div></td><td class='diff-marker'>+</td><td style="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;"><div>  | 11 = {{#ifexpr: ({{#time:j|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}} = {{weekday in month|{{#time:Y|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}}|11|4|4}}) | 1 | 0}}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div>  | 12 = {{#ifexpr: ({{#time:j|{{#var:<del class="diffchange diffchange-inline">date</del>}}}} = 24 and {{#time:N|{{#var:<del class="diffchange diffchange-inline">date</del>}}}} = 5) or ({{#time:j|{{#var:<del class="diffchange diffchange-inline">date</del>}}}} = 25 and {{#var:weekday}} = 1) or ({{#time:j|{{#var:<del class="diffchange diffchange-inline">date</del>}}}} = 26 and {{#time:N|{{#var:<del class="diffchange diffchange-inline">date</del>}}}} = 1) or ({{#time:j|{{#var:<del class="diffchange diffchange-inline">date</del>}}}} = 31 and {{#time:N|{{#var:<del class="diffchange diffchange-inline">date</del>}}}} = 5) | 1 | 0}}</div></td><td class='diff-marker'>+</td><td style="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;"><div>  | 12 = {{#ifexpr: ({{#time:j|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}} = 24 and {{#time:N|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}} = 5) or ({{#time:j|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}} = 25 and {{#var:weekday}} = 1) or ({{#time:j|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}} = 26 and {{#time:N|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}} = 1) or ({{#time:j|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}} = 31 and {{#time:N|{{#var:<ins class="diffchange diffchange-inline">qdate</ins>}}}} = 5) | 1 | 0}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>  | #default = 0</div></td><td class='diff-marker'> </td><td style="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;"><div>  | #default = 0</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>}}</includeonly><noinclude></div></td><td class='diff-marker'> </td><td style="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;"><div>}}</includeonly><noinclude></div></td></tr>
</table>
imported>Mattyk
https://geohashing.site/index.php?title=Template:Dow_holiday&diff=80552&oldid=prev
imported>Tjtrumpet2323: GAAH!!!! I left a test {{#vardefine:date|2010-04-02}} in this template?!??!?! WHY?!!
2008-07-08T20:53:23Z
<p>GAAH!!!! I left a test {{#vardefine:date|2010-04-02}} in this template?!??!?! WHY?!!</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 20:53, 8 July 2008</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div><includeonly>{{#vardefine:date|<del class="diffchange diffchange-inline">2010-04-02</del>}}{{#ifexpr: {{#time:N|{{#var:date}}}} <= 5 | {{#vardefine:weekday|1}} | {{#vardefine:weekday|0}} }}{{#switch: {{#time:m|{{#var:date}}}}</div></td><td class='diff-marker'>+</td><td style="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;"><div><includeonly>{{#vardefine:date|<ins class="diffchange diffchange-inline">{{{1|{{CURRENTTIMESTAMP}}}}}</ins>}}{{#ifexpr: {{#time:N|{{#var:date}}}} <= 5 | {{#vardefine:weekday|1}} | {{#vardefine:weekday|0}} }}{{#switch: {{#time:m|{{#var:date}}}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>  | 1 = {{#ifexpr: ({{#time:j|{{#var:date}}}} = 1 and {{#var:weekday}} = 1) or ({{#time:j|{{#var:date}}}} = 2 and {{#time:N|{{#var:date}}}} = 1) or ({{#time:j|{{#var:date}}}} = {{weekday in month|{{#time:Y|{{#var:date}}}}|1|1|3}}) | 1 | 0}}</div></td><td class='diff-marker'> </td><td style="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;"><div>  | 1 = {{#ifexpr: ({{#time:j|{{#var:date}}}} = 1 and {{#var:weekday}} = 1) or ({{#time:j|{{#var:date}}}} = 2 and {{#time:N|{{#var:date}}}} = 1) or ({{#time:j|{{#var:date}}}} = {{weekday in month|{{#time:Y|{{#var:date}}}}|1|1|3}}) | 1 | 0}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>  | 2 = {{#ifexpr: ({{#time:j|{{#var:date}}}} = {{weekday in month|{{#time:Y|{{#var:date}}}}|2|1|3}}) | 1 | 0}}</div></td><td class='diff-marker'> </td><td style="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;"><div>  | 2 = {{#ifexpr: ({{#time:j|{{#var:date}}}} = {{weekday in month|{{#time:Y|{{#var:date}}}}|2|1|3}}) | 1 | 0}}</div></td></tr>
</table>
imported>Tjtrumpet2323
https://geohashing.site/index.php?title=Template:Dow_holiday&diff=80551&oldid=prev
imported>Tjtrumpet2323 at 19:21, 8 July 2008
2008-07-08T19:21:57Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 19:21, 8 July 2008</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l19" >Line 19:</td>
<td colspan="2" class="diff-lineno">Line 19:</td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>* Returns '''1''' if the date passed is a [[Dow holiday]]; '''0''' otherwise.</div></td><td class='diff-marker'> </td><td style="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;"><div>* Returns '''1''' if the date passed is a [[Dow holiday]]; '''0''' otherwise.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>** Weekends return 0 and are not treated as holidays, as they can be programmatically handled by other templates.</div></td><td class='diff-marker'> </td><td style="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;"><div>** Weekends return 0 and are not treated as holidays, as they can be programmatically handled by other templates.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div>** All holidays are calculationally determined.</div></td><td class='diff-marker'>+</td><td style="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;"><div>** All holidays are <ins class="diffchange diffchange-inline">systematically and </ins>calculationally determined.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"></td><td class='diff-marker'> </td><td style="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;"></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>== See also ==</div></td><td class='diff-marker'> </td><td style="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;"><div>== See also ==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>[http://www.nyse.com/about/newsevents/1176373643795.html?sa_campaign=/internal_ads/callouts/holidays NYSE Calendar]</div></td><td class='diff-marker'> </td><td style="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;"><div>[http://www.nyse.com/about/newsevents/1176373643795.html?sa_campaign=/internal_ads/callouts/holidays NYSE Calendar]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div></noinclude></div></td><td class='diff-marker'> </td><td style="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;"><div></noinclude></div></td></tr>
</table>
imported>Tjtrumpet2323
https://geohashing.site/index.php?title=Template:Dow_holiday&diff=80550&oldid=prev
imported>Tjtrumpet2323: New page: <includeonly>{{#vardefine:date|2010-04-02}}{{#ifexpr: {{#time:N|{{#var:date}}}} <= 5 | {{#vardefine:weekday|1}} | {{#vardefine:weekday|0}} }}{{#switch: {{#time:m|{{#var:date}}}} | 1 = {{#...
2008-07-07T18:25:45Z
<p>New page: <includeonly>{{#vardefine:date|2010-04-02}}{{#ifexpr: {{#time:N|{{#var:date}}}} <= 5 | {{#vardefine:weekday|1}} | {{#vardefine:weekday|0}} }}{{#switch: {{#time:m|{{#var:date}}}} | 1 = {{#...</p>
<p><b>New page</b></p><div><includeonly>{{#vardefine:date|2010-04-02}}{{#ifexpr: {{#time:N|{{#var:date}}}} <= 5 | {{#vardefine:weekday|1}} | {{#vardefine:weekday|0}} }}{{#switch: {{#time:m|{{#var:date}}}}<br />
| 1 = {{#ifexpr: ({{#time:j|{{#var:date}}}} = 1 and {{#var:weekday}} = 1) or ({{#time:j|{{#var:date}}}} = 2 and {{#time:N|{{#var:date}}}} = 1) or ({{#time:j|{{#var:date}}}} = {{weekday in month|{{#time:Y|{{#var:date}}}}|1|1|3}}) | 1 | 0}}<br />
| 2 = {{#ifexpr: ({{#time:j|{{#var:date}}}} = {{weekday in month|{{#time:Y|{{#var:date}}}}|2|1|3}}) | 1 | 0}}<br />
| 3 = {{#ifexpr: ({{#time:Ymd|{{#var:date}}}} = {{#time:Ymd|{{Easter|{{#time:Y|{{#var:date}}}}}} -2 days}}) | 1 | 0}}<br />
| 4 = {{#ifexpr: ({{#time:Ymd|{{#var:date}}}} = {{#time:Ymd|{{Easter|{{#time:Y|{{#var:date}}}}}} -2 days}}) | 1 | 0}}<br />
| 5 = {{#ifexpr: ({{#time:j|{{#var:date}}}} = {{weekday in month|{{#time:Y|{{#var:date}}}}|5|1|-1}}) | 1 | 0}}<br />
| 6 = 0<br />
| 7 = {{#ifexpr: ({{#time:j|{{#var:date}}}} = 3 and {{#time:N|{{#var:date}}}} = 5) or ({{#time:j|{{#var:date}}}} = 4 and {{#var:weekday}} = 1) or ({{#time:j|{{#var:date}}}} = 5 and {{#time:N|{{#var:date}}}} = 1) | 1 | 0}}<br />
| 8 = 0<br />
| 9 = {{#ifexpr: ({{#time:j|{{#var:date}}}} = {{weekday in month|{{#time:Y|{{#var:date}}}}|9|1|1}}) | 1 | 0}}<br />
| 10 = 0<br />
| 11 = {{#ifexpr: ({{#time:j|{{#var:date}}}} = {{weekday in month|{{#time:Y|{{#var:date}}}}|11|4|4}}) | 1 | 0}}<br />
| 12 = {{#ifexpr: ({{#time:j|{{#var:date}}}} = 24 and {{#time:N|{{#var:date}}}} = 5) or ({{#time:j|{{#var:date}}}} = 25 and {{#var:weekday}} = 1) or ({{#time:j|{{#var:date}}}} = 26 and {{#time:N|{{#var:date}}}} = 1) or ({{#time:j|{{#var:date}}}} = 31 and {{#time:N|{{#var:date}}}} = 5) | 1 | 0}}<br />
| #default = 0<br />
}}</includeonly><noinclude><br />
== Usage ==<br />
<code><nowiki>{{Dow holiday|2008-11-27}}</nowiki></code><br />
* Date must be passed in '''YYYY-MM-DD''' format.<br />
* Returns '''1''' if the date passed is a [[Dow holiday]]; '''0''' otherwise.<br />
** Weekends return 0 and are not treated as holidays, as they can be programmatically handled by other templates.<br />
** All holidays are calculationally determined.<br />
<br />
== See also ==<br />
[http://www.nyse.com/about/newsevents/1176373643795.html?sa_campaign=/internal_ads/callouts/holidays NYSE Calendar]<br />
</noinclude></div>
imported>Tjtrumpet2323