Template:Age: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{#expr: floor(({{#time: Ymd |{{{EndDate|}}} }} - {{#time: Ymd |{{{StartDate}}} }})/10000)}} years
#time: Y |EndDate|: {{#time: Ymd |{{{EndDate|}}} }}
<noinclude>
<noinclude>


StartDate = the date from which to calculate age
EndDate (optional) = end range, uses today otherwise.


[[Category: Collection Location accessory]]


----


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|}}} }} - {{#time: Ymd |{{{StartDate}}} }})/10000)}} years
</noinclude>

Revision as of 22:36, 2020 March 29


StartDate = the date from which to calculate age EndDate (optional) = end range, uses today otherwise.



Expression error: Unexpected < operator. years