https://nordiclarp.org/w/index.php?title=Template:Days_since&feed=atom&action=historyTemplate:Days since - Revision history2024-03-29T02:08:29ZRevision history for this page on the wikiMediaWiki 1.34.2https://nordiclarp.org/w/index.php?title=Template:Days_since&diff=13749&oldid=prevJohannes Axner: 1 revision imported2019-01-02T01:18:46Z<p>1 revision imported</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">Revision as of 01:18, 2 January 2019</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Johannes Axnerhttps://nordiclarp.org/w/index.php?title=Template:Days_since&diff=13748&oldid=preven>Mr. Guye at 18:07, 15 December 20182018-12-15T18:07:09Z<p></p>
<p><b>New page</b></p><div><noinclude><!--<br />
-========================================================================<br />
- Days since: Show years/days or months/days since date: year|month|day<br />
-========================================================================<br />
--></noinclude>{{<br />
#ifeq: {{{2|xnone<noinclude>more</noinclude>}}}|xnone|<br />
<br>{{color|darkorange|'''{Days since}: Expected 3 numbers: year{{!}}month{{!}}day, but found: {{{1}}}'''<br>}}<br />
}}{{<br />
#ifexpr: {{age in days|{{{1|2011}}}|{{{2|3}}}|{{{3|4}}}}} > 365<br />
| {{#expr: floor( {{age in days|{{{1|2011}}}|{{{2|3}}}|{{{3|4}}}}} / 365) }}&nbsp;years, {{#expr: {{age in days|{{{1|2011}}}|{{{2|3}}}|{{{3|4}}}}} mod 365}}&nbsp;days<br />
| {{#ifexpr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} > 30<br />
| {{#expr: floor{{#expr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} / 30}}}}{{#ifeq: {{{short|}}} | yes | m | &nbsp;months ago }}<br />
| {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}}{{#ifeq: {{{short|}}} | yes | d | &nbsp;days ago }}<br />
}}<br />
}}<noinclude><br />
<br />
{{documentation|content=<br />
{{Inadequate documentation}}<br />
'''{{tl|Days since}}''' shows the years/days (or months/days) since a specific date, entered in the 3-number format: year{{!}}month{{!}}day.<br />
<br />
== See also ==<br />
* [[Template:Birth date and age]] – show birthdate and age in years<br />
* [[Template:Years and days]] – show years and days for a count in days<br />
}}{{Sandbox other|<!-- Absolutely nothing. -->|<br />
[[Category:Date-computing templates based on current time]]<br />
}}<br />
</noinclude></div>en>Mr. Guye