Template:Days since: Difference between revisions
Appearance
Created page with "<includeonly>{{#expr: ({{#time: U}} - {{#time: U | {{{1|{{{year|2026}}}}}}-{{{2|{{{month|10}}}}}}-{{{3|{{{day|24}}}}}} }} ) div 86400}}</includeonly><noinclude> this calculates the number of days passed since a start date up till today example; * `{{Days since|2026|10|24}}` (Format: Year|Month|Day) </noinclude>" |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#expr: ({{#time: U}} - {{#time: U | {{{1|{{{year|2026}}}}}}-{{{2|{{{month|10}}}}}}-{{{3|{{{day|24}}}}}} }} ) | <includeonly>{{#expr: floor ( ({{#time: U}} - {{#time: U | {{{1|{{{year|2026}}}}}}-{{{2|{{{month|10}}}}}}-{{{3|{{{day|24}}}}}} }} ) / 86400 ) }}</includeonly><noinclude> | ||
this calculates the number of days passed since a start date up till today | this calculates the number of days passed since a start date up till today | ||
Revision as of 09:19, 9 November 2026
this calculates the number of days passed since a start date up till today
example;
- `16` (Format: Year|Month|Day)