வார்ப்புரு:Infobox holiday/date
{{#ifeq:{{{test|}}}|y|&lt;tr&gt;&lt;td&gt;|}}{{#switch:{{{date|}}}
 
 &lt;!-- January --&gt;
 
 |Auckland Anniversary Day
 |Monday closest to 29 January
 |Monday before February 2
 |Monday before 2 February=[[{{Weekday before date|{{{year}}}|February|2|Monday|j F}}]] &lt;span style=&quot;display:none&quot;&gt;&amp;nbsp;(&lt;span class=&quot;dtstart&quot;&gt;{{Weekday before date|{{{year}}}|February|2|Monday|Y-m-d}}&lt;/span&gt;)&lt;/span&gt;
 
 |Third Monday in January=January {{Weekday in month|{{{year}}}|1|Monday|Third}}
 
 &lt;!-- March --&gt;
 
 |Week of March 8={{Weekday before date|{{{year}}}|March|9|Monday|F j}}–{{Weekday after date|{{{year}}}|March|7|Sunday|j}} &lt;span style=&quot;display:none&quot;&gt;&amp;nbsp;(&lt;span class=&quot;dtstart&quot;&gt;{{Weekday before date|{{{year}}}|March|9|Monday|Y-m-d}}&lt;/span&gt; - &lt;span class=&quot;dtend&quot;&gt;  {{Weekday after date|{{{year}}}|March|7|Sunday|Y-m-d}}&lt;/span&gt;)&lt;/span&gt;
 
 &lt;!-- Easter related --&gt;
 
 |Clean Monday
 |48 days before Orthodox [[Easter]]
 |48 days before Orthodox Easter= {{#invoke:Easter|Calculate|{{{year}}}|day=-48|method=Eastern|format=[[j xg]]}} &lt;span style=&quot;display:none&quot;&gt;&amp;nbsp;(&lt;span class=&quot;dtstart&quot;&gt;{{#invoke:Easter|Calculate|{{{year}}}|day=-48|method=Eastern|format=Y-m-d}}&lt;/span&gt;)&lt;/span&gt;
 
 |Shrove Tuesday
 |Tuesday in seventh week before [[Easter]], day before Ash Wednesday={{#invoke:Easter|Calculate|{{{year}}}|day=-47|format=F j}}
 
 |People's Sunday
 |first Sunday of [[Lent]]= {{#invoke:Easter|Calculate|{{{year}}}|day=-42|format=[[j F]]}}&lt;span style=&quot;display:none&quot;&gt;&amp;nbsp;(&lt;span class=&quot;dtstart&quot;&gt;{{#invoke:Easter|Calculate|{{{year}}}|day=-42|format=Y-m-d}}&lt;/span&gt;)&lt;/span&gt;
 
 |Easter Sunday - 7 d={{#invoke:Easter|Calculate|{{{year}}}|day=-7|format=[[j F]]}}&lt;span style=&quot;display:none&quot;&gt;&amp;nbsp;(&lt;span class=&quot;dtstart&quot;&gt;{{#invoke:Easter|Calculate|day=-7|{{{year}}}|format=Y-m-d}}&lt;/span&gt;)&lt;/span&gt;
 
 
 |Easter Sunday - 2 d={{#invoke:Easter|Calculate|{{{year}}}|day=-2|format=[[j F]]}}&lt;span style=&quot;display:none&quot;&gt;&amp;nbsp;(&lt;span class=&quot;dtstart&quot;&gt;{{#invoke:Easter|Calculate|day=-2|{{{year}}}|format=Y-m-d}}&lt;/span&gt;)&lt;/span&gt;
 
 |Easter Sunday
 |Easter
 |[[Easter Sunday]]={{#invoke:Easter|Calculate|{{{year}}}|format=[[j F]]}}&lt;span style=&quot;display:none&quot;&gt;&amp;nbsp;(&lt;span class=&quot;dtstart&quot;&gt;{{#invoke:Easter|Calculate|{{{year}}}|format=Y-m-d}}&lt;/span&gt;)&lt;/span&gt;
 
 |Easter Sunday + 1 d={{#invoke:Easter|Calculate|{{{year}}}|day=1|format=[[j F]]}}&lt;span style=&quot;display:none&quot;&gt;&amp;nbsp;(&lt;span class=&quot;dtstart&quot;&gt;{{#invoke:Easter|Calculate|day=1|{{{year}}}|format=Y-m-d}}&lt;/span&gt;)&lt;/span&gt;
 
 |Easter Sunday + 39 d={{#invoke:Easter|Calculate|{{{year}}}|day=39|format=[[j F]]}}&lt;span style=&quot;display:none&quot;&gt;&amp;nbsp;(&lt;span class=&quot;dtstart&quot;&gt;{{#invoke:Easter|Calculate|day=39|{{{year}}}|format=Y-m-d}}&lt;/span&gt;)&lt;/span&gt;
 
 |Easter Sunday + 40 d={{#invoke:Easter|Calculate|{{{year}}}|day=40|format=[[j F]]}}&lt;span style=&quot;display:none&quot;&gt;&amp;nbsp;(&lt;span class=&quot;dtstart&quot;&gt;{{#invoke:Easter|Calculate|day=40|{{{year}}}|format=Y-m-d}}&lt;/span&gt;)&lt;/span&gt;
 
 |Easter Sunday + 49 d={{#invoke:Easter|Calculate|{{{year}}}|day=49|format=[[j F]]}}&lt;span style=&quot;display:none&quot;&gt;&amp;nbsp;(&lt;span class=&quot;dtstart&quot;&gt;{{#invoke:Easter|Calculate|day=49|{{{year}}}|format=Y-m-d}}&lt;/span&gt;)&lt;/span&gt;
 
 |Easter Sunday + 50 d
 |Pentecost Monday
 |Azores Day={{#invoke:Easter|Calculate|{{{year}}}|day=+50|format=[[j F]]}}&lt;span style=&quot;display:none&quot;&gt;&amp;nbsp;(&lt;span class=&quot;dtstart&quot;&gt;{{#invoke:Easter|Calculate|{{{year}}}|day=+50|format=Y-m-d}}&lt;/span&gt;)&lt;/span&gt;
 
 |Easter Sunday + 60 d={{#invoke:Easter|Calculate|{{{year}}}|day=60|format=[[j F]]}}&lt;span style=&quot;display:none&quot;&gt;&amp;nbsp;(&lt;span class=&quot;dtstart&quot;&gt;{{#invoke:Easter|Calculate|day=60|{{{year}}}|format=Y-m-d}}&lt;/span&gt;)&lt;/span&gt;
 
 
 &lt;!-- April --&gt;
 
 |first Thursday after April 18
 |first Thursday after 18 April=[[{{Weekday after date|{{{year}}}|April|18|Thursday|j F}}]]
 
 |Fourth Monday in April=April {{Weekday in month|{{{year}}}|4|Monday|Fourth}}
 
 |Last Monday in April=April {{Weekday in month|{{{year}}}|4|Monday|Last}}
 
 
 &lt;!-- May --&gt;
 
 |Friday before Mother's Day (second Sunday in May)
 |National Public Gardens Day={{Weekday after date|{{{year}}}|May|5|Friday|F j}}
 
 |Victory Day (Scotland)
 |last Monday before or on 24 May=[[{{Weekday before date|{{{year}}}|May|25|Monday|j F}}]]
 
 |Second Saturday in May=May {{Weekday in month|{{{year}}}|5|Saturday|Second}}
 
 |Monday preceding 25 May
 |Monday preceding May 25=[[{{Weekday before date|{{{year}}}|May|25|Monday|F j}}]]
 
 |Monday on or before 25th of May
 |Monday before 26 May
 |Monday before May 26=[[{{Weekday before date|{{{year}}}|May|26|Monday|j F}}]]
 
 |Last Monday in May=May {{Weekday in month|{{{year}}}|5|Monday|Last}}
 
 
 &lt;!-- June --&gt;
 
 |First Saturday of June=June {{Weekday in month|{{{year}}}|6|Saturday|First}}
 
 
 &lt;!-- July --&gt;
 
 |Tynwald Day
 |[[5 July]] (if this is a Saturday or Sunday: the following Monday)
 |5 July (if this is a Saturday or Sunday: the following Monday)={{#ifeq:{{#time:N|{{{year}}}-07-05}}|6|[[7 July]]|
 {{#ifeq:{{#time:N|{{{year}}}-07-05}}|7|[[6 July]]|[[5 July]]}}}}
 
 |National Day of Commemoration (Ireland)
 |Sunday nearest to 11 July=[[{{Weekday before date|{{{year}}}|July|15|Sunday|j F}}]]
 
 
 &lt;!-- September  --&gt;
 
 |Thursday after 1st Sunday in September={{Weekday after date|{{{year}}}|September|4|Thursday|[[j F]]}}
 
 |3rd Sunday in September={{Weekday in month|{{{year}}}|September|Sunday|3}} September
 
 |Second Sunday in September={{#time:[[j F]]|{{Date on following weekday|{{{year}}}|September|6|Sunday}}}}
 
 |nearest weekday to 17 September
 |nearest weekday to September 17={{#ifeq:{{WEEKDAYNUMBER|{{JD|{{{year}}}|9|17}}}}|{{WEEKDAYNUMBER|Saturday}}|{{#time: l, F j|{{JULIANDAY.TIMESTAMP |{{JD|{{{year}}}|9|16}}}}}} (observed)|{{#ifeq:{{WEEKDAYNUMBER|{{JD|{{{year}}}|9|17}}}}|{{WEEKDAYNUMBER|Sunday}}|{{#time: l, F j|{{JULIANDAY.TIMESTAMP |{{JD|{{{year}}}|9|18}}}}}} (observed)|{{#time: l, F j|{{JULIANDAY.TIMESTAMP |{{JD|{{{year}}}|9|17}}}}}}}}}}
 
 |Monday after 3rd Sunday in September={{Weekday after date|{{{year}}}|September|15|Monday|[[j F]]}}
 
 &lt;!-- November --&gt;
 
 |Black Friday (shopping)
 |Day after [[Thanksgiving (United States)|U.S. Thanksgiving]]
 |Day after U.S. Thanksgiving={{Weekday after date|{{{year}}}|November|22|Friday|F j}} &lt;span style=&quot;display:none&quot;&gt;&amp;nbsp;(&lt;span class=&quot;dtstart&quot;&gt;{{Weekday after date|{{{year}}}|November|22|Friday|Y-m-d}}&lt;/span&gt;)&lt;/span&gt;
 
 |Small Business Saturday
 |Saturday after [[Thanksgiving (United States)|U.S. Thanksgiving]]
 |Saturday after U.S. Thanksgiving={{Weekday after date|{{{year}}}|November|23|Saturday|F j}} &lt;span style=&quot;display:none&quot;&gt;&amp;nbsp;(&lt;span class=&quot;dtstart&quot;&gt;{{Weekday after date|{{{year}}}|November|23|Saturday|Y-m-d}}&lt;/span&gt;)&lt;/span&gt;
 
 |Cyber Monday
 |Monday after [[Thanksgiving (United States)|U.S. Thanksgiving]]
 |Monday after U.S. Thanksgiving={{Weekday after date|{{{year}}}|November|25|Monday|F j}} &lt;span style=&quot;display:none&quot;&gt;&amp;nbsp;(&lt;span class=&quot;dtstart&quot;&gt;{{Weekday after date|{{{year}}}|November|25|Monday|Y-m-d}}&lt;/span&gt;)&lt;/span&gt;
 
 |Giving Tuesday
 |Tuesday after [[Thanksgiving (United States)|U.S. Thanksgiving]]
 |Tuesday after U.S. Thanksgiving={{Weekday after date|{{{year}}}|November|26|Tuesday|F j}} &lt;span style=&quot;display:none&quot;&gt;&amp;nbsp;(&lt;span class=&quot;dtstart&quot;&gt;{{Weekday after date|{{{year}}}|November|26|Tuesday|Y-m-d}}&lt;/span&gt;)&lt;/span&gt;
 
 |Second Sunday before [[Advent Sunday]]
 |Second Sunday before the First Advent=[[{{Weekday before date|{{{year}}}|November|20|Sunday|j F}}]] &lt;span style=&quot;display:none&quot;&gt;&amp;nbsp;(&lt;span class=&quot;dtstart&quot;&gt;{{Weekday before date|{{{year}}}|November|20|Sunday|Y-m-d}}&lt;/span&gt;)&lt;/span&gt;
 
 |Second Wednesday before the First Advent=[[{{Weekday before date|{{{year}}}|November|23|Wednesday|j F}}]] &lt;span style=&quot;display:none&quot;&gt;&amp;nbsp;(&lt;span class=&quot;dtstart&quot;&gt;{{Weekday before date|{{{year}}}|November|23|Wednesday|Y-m-d}}&lt;/span&gt;)&lt;/span&gt;
 
 &lt;!-- December --&gt;
 
 |First Advent Sunday
 |Sunday before December 4
 |Fourth Sunday before [[Christmas|Christmas Day]]
 |Fourth Sunday before Christmas Day=[[{{Weekday before date|{{{year}}}|December|4|Sunday|j F}}]]
 
 |15 December (if a Sunday, on Monday 16 December)
 |15 December &lt;br/&gt;(If a Sunday, on Monday 16 December)
 |Koninkrijksdag={{#ifeq:{{#time:N|{{{year}}}-12-15}}|7|[[16 December]]|[[15 December]]}}
 
 |the Friday before [[Christmas]]
 |Friday before Christmas
 |the Friday before Christmas={{Weekday before date|{{{year}}}|December|25|Friday|F j}}
 
 |Last Saturday before [[Christmas]]
 |last Saturday before Christmas
 |Last Saturday before Christmas=[[{{Weekday before date|{{{year}}}|December|25|Saturday|j F}}]]
 
 |Sunday after Christmas={{Weekday after date|{{{year}}}|December|25|Sunday}} &lt;span style=&quot;display:none&quot;&gt;&amp;nbsp;(&lt;span class=&quot;dtstart&quot;&gt;{{Weekday after date|{{{year}}}|December|25|Sunday}}&lt;/span&gt;)&lt;/span&gt;
 
 
 |#default={{#if:{{{date_default|}}}
    |{{#ifeq:{{{date_default|}}}|♦
      |{{#if:{{{week_ordinal|}}}|{{#if:{{{bold|}}}|&lt;b&gt;}}{{{month}}} {{weekday in month|{{{week_ordinal}}}|{{{weekday}}}|{{{month}}}|{{{year}}}}}  {{#if:{{{bold|}}}|&lt;/b&gt;}} &lt;span style=&quot;display:none&quot;&gt;&amp;nbsp;(&lt;span class=&quot;dtstart&quot;&gt;{{#time:Y-m-d|{{weekday in month|{{{week_ordinal}}}|{{{weekday}}}|{{{month}}}|{{{year}}} }}. {{{month}}} {{{year}}} }}&lt;/span&gt;)&lt;/span&gt;}}
      |{{{date_default}}}
      }}
    }}
 }}{{#ifeq:{{{test|}}}|y|&lt;td&gt;year: {{{year|}}}&lt;td&gt;date rule: {{{date|}}}&lt;td&gt;week_ordinal  = {{{week_ordinal|}}}&lt;td&gt;weekday       = {{{weekday|}}}&lt;td&gt;month         = {{{month|}}}&lt;/tr&gt;}}&lt;noinclude&gt;
 {{documentation|content=
 This subtemplate is used by {{tl|infobox holiday}} to generate the date for holidays in future years.  It should not be used directly.