Template:Age: Difference between revisions
Jump to navigation
Jump to search
Ttenbergen (talk | contribs) No edit summary |
Ttenbergen (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{#expr: floor(({{{EndDate| | {{#expr: floor(({{#time: Y |{{{EndDate|}}} }} - {{#time: Ymd |{{{StartDate}}} }})/10000)}} years | ||
#time: Y |EndDate|: {{#time: Y |{{{EndDate|}}} }} | |||
<noinclude> | <noinclude> | ||
Revision as of 22:33, 2020 March 29
Expression error: Unexpected < operator. years
- time: Y |EndDate|: 2024
StartDate = the date from which to calculate age EndDate (optional) = end range, uses today otherwise.