Jump to content

Template:Age in days/doc

From Worldwide Dead Wiki
This is a documentation subpage for Template:Age in days.
It contains usage information, categories, and other content that is not part of the original template page.

Usage

This template returns the number of days between two dates. If the second set of parameters is not included it will calculate the days between the given date and today.

{{Age in days
 |year1= 
 |month1= 
 |day1= 
 |year2= 
 |month2= 
 |day2= 
}}

Example

If you provide both dates, it will output the distance between those two dates.

{{Age in days|2005|7|3|2025|3|14}} days

7194 days

If you only provide the first date, it will output the distance to the current date.

{{Age in days|2025|3|14}} days ago

393 days ago