Template:Date-calc: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Documentation}}</noinclude>
{{#invoke:DateMath|calculate}}
{{#if: {{{date|}}} |
{{#ifeq: {{{operation|}}} | add |
{{#time: j F Y | {{{date}}} + {{{days|0}}} days + {{{weeks|0}}} weeks + {{{months|0}}} months }}
}}
{{#ifeq: {{{operation|}}} | subtract |
{{#time: j F Y | {{{date}}} - {{{days|0}}} days - {{{weeks|0}}} weeks - {{{months|0}}} months }}
}}
| Please specify a valid date and operation (add or subtract).
}}

Latest revision as of 17:23, 17 December 2024

Please specify a valid date and operation (add or subtract).