This template returns the number of full years, then surplus months, then 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. The words "year", "month" and "day" are plural when appropriate.
The years and months are separated by a comma. Since and use varies, this template does not automatically place a comma after the months. If a serial comma is desired, adding |sc=y to the template invocation will include one.
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.
ਫਰਮੇ ਦੇ ਮਾਪਦੰਡ
ਮਾਪਦੰਡ
ਵੇਰਵਾ
ਕਿਸਮ
ਦਰਜਾ
Year ('from' date)
1year
The year of the (first) date
Number
required
Month ('from' date)
2month
Number of the month of the (first) date
Number
required
Day of month ('from' date)
3day
The day of the month of the (first) date
Number
optional
Year ('to' date)
4
The year of the 'to' date, if required
ਮੂਲ ਰੂਪ
the current year
Number
optional
Month ('to' date)
5
Number of the month of the 'to' date, if required
ਮੂਲ ਰੂਪ
the current month
Number
optional
Day of month ('to' date)
6
The day of the month of the 'to' date, if required
ਮੂਲ ਰੂਪ
the current day
Number
optional
Serial comma
sc
Enter 'y' to turn on the serial comma after the months
Combines functions of {{Birth date}}, {{birth-date}}, {{birth date and age}}, {{birth year and age}}, {{death date}}, {{death-date}}, {{death date and age}}, and {{death year and age}}.
To display approximate birth year and current age given a particular date (e.g. when a dated reference mentions the age of a person), only works for living people.