Template:Age: Difference between revisions
Jump to navigation
Jump to search
Ttenbergen (talk | contribs) No edit summary |
Ttenbergen (talk | contribs) No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
StartDate = the date from which to calculate age | |||
EndDate (optional) = end range, uses today otherwise. | |||
[[Category: Collection Location accessory]] | |||
---- | |||
</noinclude>{{#expr: floor(({{#time: Ymd |{{{EndDate|{{CURRENTYEAR}}{{CURRENTMONTH}}{{CURRENTDAY}} }}} }} - {{#time: Ymd |{{{StartDate}}} }})/10000)}} years | |||
</noinclude> |
Latest revision as of 22:45, 2020 March 29
StartDate = the date from which to calculate age
EndDate (optional) = end range, uses today otherwise.
Expression error: Unexpected < operator. years