Template:Days since: Difference between revisions

Jump to navigation Jump to search
(https://en.wikipedia.org/wiki/Template:Days_since)
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
}}{{
}}{{
#ifexpr: {{age in days|{{{1|2011}}}|{{{2|3}}}|{{{3|4}}}}} > 365
#ifexpr: {{age in days|{{{1|2011}}}|{{{2|3}}}|{{{3|4}}}}} > 365
| {{#expr: floor( {{age in days|{{{1|2011}}}|{{{2|3}}}|{{{3|4}}}}} / 365) }} years, {{#expr: {{age in days|{{{1|2011}}}|{{{2|3}}}|{{{3|4}}}}} mod 365}} days
| {{#expr: floor( {{age in days|{{{1|2011}}}|{{{2|3}}}|{{{3|4}}}}} / 365) }} years, {{#expr: {{age in days|{{{1|2011}}}|{{{2|3}}}|{{{3|4}}}}} mod 365}} days ago
| {{#ifexpr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} > 30
| {{#ifexpr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} > 30
| {{#expr: floor{{#expr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} / 30}}}}{{#ifeq: {{{short|}}} | yes | m |  months ago }}
| {{#expr: floor{{#expr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} / 30}}}}{{#ifeq: {{{short|}}} | yes | m |  months ago }}

Latest revision as of 10:03, 26 June 2021

13 years, 275 days ago