Open main menu

Changes

m
no edit summary
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->

==Usage==
<nowiki>{{days elapsed times factor|year|month|day|factor|decimal_places}}</nowiki>

===Example [[Moon]]===
This:
:<nowiki>Cumulatively, this effect becomes ever more significant over time; since when [[Apollo 11|astronauts first landed on the Moon]] approximately {{age|1969|1|19}}<!-- NOTE TO EDITORS: This date, which is 182 days before the landing, rounds the elapsed time to the nearest year. -->&nbsp;years ago, it is now {{days elapsed times factor|1969|7|20|0.0001046|2}}&nbsp;metres farther away.</nowiki>
Becomes:
:Cumulatively, this effect becomes ever more significant over time; since when [[Apollo 11|astronauts first landed on the Moon]] approximately {{age|1969|1|19}}<!-- NOTE TO EDITORS: This date, which is 182 days before the landing, rounds the elapsed time to the nearest year. -->&nbsp;years ago, it is now {{days elapsed times factor|1969|7|20|0.0001046|2}}&nbsp;metres farther away.

==See also==
*[[Template:Age in days]]
*[[m:Help:ParserFunctions##expr:|Parser function #expr]]
<includeonly><!--
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. -->
[[Category:Date mathematics templates]]
[[Category:Date-computing templates]]
</includeonly>
Anonymous user