Template:DaysSinceStart: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | |||
== Usage == | |||
This template calculates the number of days since a given start date. | |||
=== Syntax === | |||
<code> | |||
{{DaysSinceStart|YYYY-MM-DD}} | |||
</code> | |||
=== Example === | |||
<code> | |||
{{DaysSinceStart|2023-08-26}} | |||
</code> | |||
This example will display the number of days since August 26, 2023. | |||
== Notes == | |||
- Ensure the date is provided in the format YYYY-MM-DD. | |||
- If no start date is provided, the template will display an informational message. | |||
</noinclude> | |||
{{#if: {{{1|}}} | | {{#if: {{{1|}}} | | ||
{{#expr: | {{#expr: |
Revision as of 02:22, 21 July 2024
Usage
This template calculates the number of days since a given start date.
Syntax
Expression error: Unexpected < operator.
Example
568
This example will display the number of days since August 26, 2023.
Notes
- Ensure the date is provided in the format YYYY-MM-DD. - If no start date is provided, the template will display an informational message.
This template calculates the number of days since a given start date. Please provide a start date in the format YYYY-MM-DD.