Template:AgeYMWD/doc

This template returns the number of Years, Months, Weeks and Days that have elapsed between two dates.

See for more information on using this kind of template.

Usage
AgeYMWD

Note that all parameters default to the current date, so for example, the second set of parameters can be left out to calculate elapsed time since a past date:
 * AgeYMWD produces

Or simply, using the simpler parameter names, compatible with AgeYMWD:
 * AgeYMWD produces

Alternatively, the first set of parameters can be left out to get the time left until a future date, such as the next Century:
 * AgeYMWD produces