Template:Date-calc: Difference between revisions
From Test Wiki
Content deleted Content added
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude>{{Documentation}}</noinclude> |
|||
{{#invoke:DateMath|calculate}} |
|||
{{#if: {{{date|}}} | |
|||
{{#ifeq: {{{operation|}}} | add | |
|||
{{#time: jS F Y | {{{date}}} + {{{days|1}}} days }} |
|||
}} |
|||
{{#ifeq: {{{operation|}}} | subtract | |
|||
{{#time: jS F Y | {{{date}}} - {{{days|1}}} days }} |
|||
}} |
|||
}} |
|||