Template:Age in days/doc

Description
This template is used to calculate the duration between two dates in days. It can be useful for continuously counting the number of days that has passed for an event.

Syntax
The parameters for this template is a pair of two dates which includes a month, day, and year. While you can provide both dates, you can also fill in the first date and the template will automatically fill the second date with today's date.

These dates should be written in their numerical representation (such as 9-25-2027) or the template will return an error and will not work as expected.

Sample Output
Writing 8973 days will result in:

8973 days

Writing will result in:

Dependencies
This template uses the Gregorian serial date template and parser functions to calculate the result.