Search results
Results From The WOW.Com Content Network
{} – works with "fuzzy" or ambiguous dates {{Birth date and age}} – used on most biographical entries {{Birth date and age2}} – calculates age at a specified date {{Birth based on age as of date}} – used when a reference mentions the age of a person as of the date of the reference's publication {{Birth year and age}} {}
Or simply, using the simpler parameter names, compatible with {{Age in years, months and days}}: {{Age in years, months, weeks and days |month = 1 |day = 1 |year = 1 }} → 2023 years, 11 months, 2 weeks and 6 days; Alternatively, the first set of parameters can be left out to get the time left until a future date, such as the next Wikipedia Day:
The default calculates an age—the day of the second date is not included in the calculation. A duration including the second date is calculated if |duration=on is used. {{age in years and days|1 Jan 2011|31 Dec 2012}} → 1 year, 365 days {{age in years and days|1 Jan 2011|31 Dec 2012|sep=and}} → 1 year and 365 days
This template returns the number of full years between two specified dates. If the second set of parameters is not included, it will return the number of full years between a specified date and today's date. Template parameters [Edit template data] Parameter Description Type Status Year ("from" date) 1 The year of the "from" date Number required Month ("from" date) 2 The month of the "from ...
This template returns the number of full years, surplus months, and surplus days between two specified dates. If the second set of parameters is not included, it will return the number of years, months and days between a specified date and today's date. Template parameters [Edit template data] Parameter Description Type Status Year ('from' date) 1 year The year of the (first) date Number ...
This template returns the duration between two specified dates as a number of full years and remaining months. If the second set of parameters is not included, the duration is between the specified date and today's date.
The age, year, and day must be supplied as natural numbers; month can be specified as a natural number as well as by name or abbreviation (e.g., "August" or "Aug"). The Gregorian calendar is assumed, with no special support provided for dual dating or the difference between Old Style and New Style dates .
-- Also need to localize text in table names in function dateDifference. ... birth date for calculating ... or 2 years, 11 days local opt = {format = textOptions ...