Knowledge

Template:Birth-date and age

Source 📝

21: 86: 52: 97: 532:
Birth date. May be year only, year and month, year month and day, expressed in natural formats: e.g.: 24 August 1953, 1955-08-25, Sunday, December 7, 1941. If parameter three is not specified, the birth date is displayed in exactly this format. This value as well as parameter 2 may not include
142:
Note: The template may not calculate the age correctly if a full date (month, day, year) is not provided. For example, a person who was born in 1941 could be either 82 or 83, depending on whether they have reached their birthday in the current year:
468:
31 December 2016<span style="display:none">&#160;(<span class="dtstart bday">2016-12-31</span>)</span> (age&nbsp;<span class="currentage"></span>7)
490:<span style="display:none"> (<span class="bday">2016-12-31</span>) </span>31 December 2016<span class="noprint ForceAgeToShow"> (age&nbsp;7)</span> 68: 746:
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}}.
642: 220:{{Birth-date and age| birth date | wikitext to display in place of 'birth date'. Like the right hand parameter in a wikilink, this could be alternate text, links, templates etc. }} 1699: 1707: 904:
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.
694: 1786: 135:
displays a person's birth date and age. Besides calculating the age of the person, the benefit of using this template is to allow for the inclusion of hidden
1695: 1683: 36: 1719: 1679: 32: 579:
If Julian date is used, this parameter is required. The date provided is used for emitting the correct microformat translation of the birth date.
1087: 861: 687: 114: 40: 680: 654: 59: 1103: 896: 648: 1776: 912: 1781: 1690: 1651: 1646: 667: 110: 64: 1151: 547:
The birth date to display. This may include links or templates, or any combination of them, and overrides parameter 1.
266: 1020: 1665: 1385:
Current age for infant: months and days up to one year, years and months up to three years, and years beyond age 3.
1119: 76: 1715: 1673: 28: 920:
To display approximate birth year based on age at death, or on age at a specific date if death date isn't known.
1241: 1135: 1174: 822: 1478: 1036: 1000: 973: 880: 799: 629: 180: 1607: 1493: 1206: 533:
links. If links or templates that do not evaluate as recognizable dates are desired, use parameter 2.
1289: 1587: 1563: 1377: 1361: 1225: 738: 254:(this will work for year-only or month-year dates). Because the ISO 8601 standard requires the 244:
Note: For the "foundation", "built" and similar set-up dates of companies, buildings etc., use
72: 1543: 1257: 1190: 1622: 1350: 1273: 1163: 8: 1453: 1428: 958: 942: 784: 768: 612: 248: 255: 231: 1012:, but accepts dates in text form ('15 June 1950', 'June 15, 1950', 'June 1950', etc.). 853:, but accepts dates in text form ('15 June 1950', 'June 15, 1950', 'June 1950', etc.). 85: 1669: 1463: 1438: 1182:
Number of years between two dates, rounded to the specified number of decimal places.
597:
value emitted to indicate microformat birth date. It overrides any calculated value.
1338: 1752: 475:{{Birth date and age|2016|12|31|df=y}} 1552: 672: 259: 1576: 1770: 103: 632:(The name of the alternative template does not have a hyphen after "Birth".) 1322: 617: 15: 136: 405:
Demo of ISO date, as well as alternate displays. Sample below displays
1734: 872:, but with the age displayed in years and days rather than just years. 1095:
Number of complete years, months, weeks and days between two dates.
63:
and changes may be widely noticed. Test changes in the template's
643:
Category:Birth-date and age transclusions with invalid parameters
594: 1127:
Number of complete years and remaining months between two dates.
456:{{Birth-date and age|31 December 2016}} 258:, this template should not be used if the date is given in the 1143:
Number of complete years and remaining days between two dates.
657: (154) – added by Template:Birth-date and other templates 1369:
Current age (in years) from a known age at a specified date.
1111:
Number of complete years, months and days between two dates.
230:
This template also returns the date, hidden by CSS, in the
139:
dates, which may be indexed or searched by software tools.
1330:
Age based on number of complete years between two dates.
1300:
with output formatted for use in number sortable tables.
1217:
with output formatted for use in number sortable tables.
370:
Year only, year and month only: Sample below displays
1761:
Specifically rejects supporting the Julian calendar.
950:
To display a death date and related hidden metadata.
776:
To display a birth date and related hidden metadata.
1044:
To display a year of, and approximate age at death.
702: 239:(<span class="bday">1993-02-24</span>) 1768: 1787:Templates generating microformat date and age 1160:{{Age in years and days}} 688: 651: (16,630) – added by Template:Birth-date 199:→ September 1941 (age 82–83) 176:When only the year is known, consider using 1249:Number of weeks and days between two dates. 1689:Editors can experiment in this template's 1028:To display a death date and specified age. 1010:{{Death date and age}} 990:{{event date and age}} 870:{{Birth date and age}} 851:{{Birth date and age}} 831:{{Birth date and age}} 695: 681: 300:Month first format: Sample below displays 18: 335:Day first format: Sample below displays 655:Category:Articles without Wikidata item 623: 606: 1769: 649:Category:Date of birth not in Wikidata 636: 1517: 1403: 1402: 1309:Reverse-determined age template  1061: 713: 712: 676: 446: 162:{{Birth-date and age|September 1941}} 75:. Consider discussing changes on the 1597:{{OldStyleDate}} 1573:{{OldStyleDate}} 1215:{{Age in years}} 1088:Age in years, months, weeks and days 862:Birth date and age in years and days 225: 91: 46: 1298:{{Age in days}} 1233:Number of months between two dates. 668:Knowledge:Age calculation templates 215:{{Birth-date and age| birth date }} 111:Module:Check for unknown parameters 13: 1265:Number of weeks between two dates. 1198:Number of years between two dates. 982:{{Death date}} 888:Year of birth and approximate age. 808:{{Birth date}} 417:, with invisible microformat date: 382:, with invisible microformat date: 347:, with invisible microformat date: 312:, with invisible microformat date: 84: 14: 1798: 1518: 1349:with output formatted for use in 1162:with output formatted for use in 1534:Description / use  1419:Description / use  1313:Description / use  1078:Description / use  1074:Conventional age templates  933:Description / use  833:plus age as of a specified date. 759:Description / use  729:Description / use  95: 50: 19: 1674:Template:Birth-date and age/doc 1647:About age calculation templates 265:For further information, visit 60:approximately 14,000 pages 1745: 1727: 1281:Age in days between two dates. 703:Birth, death and age templates 451:Birth date and age templates: 1: 1104:Age in years, months and days 897:Birth based on age as of date 593:This value if present is the 561:If birth date is BC, set to " 495: 197:{{Birth year and age|1941|9}} 193:→ 1941 (age 82–83) 1415:Date-focused templates  1062: 7: 1777:Templates tracking Wikidata 1347:{{Age}} 913:Birth based on age at death 725:Combined BDA template  661: 630:Template:Birth date and age 272: 191:{{Birth year and age|1941}} 148:{{Birth-date and age|1941}} 10: 1803: 1782:Date mathematics templates 1663: 1652:Date mathematics templates 1404:start / end dates 293:(colors for emphasis only) 1753:"hCalendar closed issues" 1720:Subpages of this template 1642: 1524: 1513: 1409: 1398: 1152:Age in years and days nts 1068: 1057: 719: 708: 517: 79:before implementing them. 71:subpages, or in your own 58:This template is used on 1579:fall in different years. 1021:Death date and given age 267:the microformats project 234:standard. For example: 203: 1575:but used when Julian / 1120:Age in years and months 1714:Add categories to the 1351:number sortable tables 1164:number sortable tables 434:Twelfth of April, 1941 407:Twelfth of April, 1941 89: 24:Template documentation 1735:"Date Design Pattern" 1599:but without the year. 1242:Age in weeks and days 1136:Age in years and days 988:)'; also called with 929:Death templates  755:Birth templates  508:additional parameters 502:{{birth-date and age| 425:{{Birth-date and age| 390:{{Birth-date and age| 355:{{Birth-date and age| 320:{{Birth-date and age| 88: 1175:Age in decimal years 624:Alternative template 607:Supporting templates 102:This template uses 984:with suffix '(aged 823:Birth date and age2 637:Tracking categories 613:Template:Birth-date 295: 1759:. August 28, 2009. 1479:Start date and age 1037:Death year and age 1001:Death-date and age 974:Death date and age 881:Birth year and age 842:Birth-date and age 810:with suffix '(age 800:Birth date and age 458:→ 31 December 2016 447:Microformat output 285:Birth-date and age 277: 256:Gregorian calendar 181:Birth year and age 130:Birth-date and age 90: 1757:Microformats Wiki 1739:Microformats Wiki 1660: 1659: 1638: 1637: 1633: 1632: 1509: 1508: 1504: 1503: 1394: 1393: 1389: 1388: 1304: 1303: 1053: 1052: 1048: 1047: 924: 923: 750: 749: 714:birth, death, age 604: 603: 444: 443: 226:hCard microformat 124: 123: 83: 82: 1794: 1762: 1760: 1749: 1743: 1742: 1741:. April 7, 2013. 1731: 1711: 1703: 1687: 1627: 1621: 1612: 1608:Unidentified for 1606: 1598: 1592: 1586: 1574: 1568: 1562: 1548: 1542: 1535: 1527: 1526: 1515: 1514: 1498: 1494:End date and age 1492: 1483: 1477: 1468: 1462: 1458: 1452: 1443: 1437: 1433: 1427: 1420: 1412: 1411: 1400: 1399: 1382: 1376: 1366: 1360: 1348: 1343: 1337: 1327: 1321: 1314: 1306: 1305: 1299: 1294: 1288: 1278: 1272: 1262: 1256: 1246: 1240: 1230: 1224: 1216: 1211: 1207:Age in years nts 1205: 1195: 1189: 1179: 1173: 1161: 1156: 1150: 1140: 1134: 1124: 1118: 1108: 1102: 1092: 1086: 1079: 1071: 1070: 1059: 1058: 1041: 1035: 1025: 1019: 1011: 1005: 999: 991: 983: 978: 972: 963: 957: 947: 941: 934: 926: 925: 917: 911: 901: 895: 885: 879: 871: 866: 860: 852: 846: 840: 832: 827: 821: 809: 804: 798: 789: 783: 773: 767: 760: 752: 751: 743: 737: 730: 722: 721: 710: 709: 697: 690: 683: 674: 673: 515: 514: 511: 488: 485:31 December 2016 484: 482: 476: 465: 463: 457: 438: 436: 430: 416: 414: 412: 397: 395: 381: 379: 377: 362: 360: 346: 344: 342: 327: 325: 311: 309: 307: 296: 290: 289: 283: 276: 253: 247: 240: 221: 216: 198: 192: 185: 179: 171: 169: 164:→ September 1941 163: 157: 155: 149: 134: 128: 99: 98: 92: 54: 53: 47: 44: 25: 23: 22: 1802: 1801: 1797: 1796: 1795: 1793: 1792: 1791: 1767: 1766: 1765: 1751: 1750: 1746: 1733: 1732: 1728: 1724: 1723: 1713: 1705: 1693: 1688: 1677: 1662: 1661: 1656: 1634: 1625: 1619: 1610: 1604: 1596: 1590: 1584: 1577:Gregorian dates 1572: 1566: 1560: 1553:Julian calendar 1546: 1540: 1533: 1520: 1505: 1496: 1490: 1481: 1475: 1466: 1460: 1456: 1450: 1441: 1435: 1431: 1425: 1418: 1405: 1390: 1380: 1374: 1364: 1358: 1346: 1341: 1335: 1325: 1319: 1312: 1297: 1292: 1290:Age in days nts 1286: 1276: 1270: 1260: 1254: 1244: 1238: 1228: 1222: 1214: 1209: 1203: 1193: 1187: 1177: 1171: 1159: 1154: 1148: 1138: 1132: 1122: 1116: 1106: 1100: 1090: 1084: 1077: 1064: 1049: 1039: 1033: 1023: 1017: 1009: 1003: 997: 989: 981: 976: 970: 961: 955: 945: 939: 932: 915: 909: 899: 893: 883: 877: 869: 864: 858: 850: 844: 838: 830: 825: 819: 807: 802: 796: 787: 781: 771: 765: 758: 741: 735: 728: 715: 704: 701: 664: 639: 626: 609: 501: 498: 491: 486: 480: 478: 474: 469: 461: 459: 455: 449: 432: 426: 424: 410: 408: 406: 391: 389: 375: 373: 371: 356: 354: 340: 338: 336: 321: 319: 305: 303: 301: 287: 281: 279: 275: 260:Julian calendar 251: 245: 238: 228: 219: 214: 206: 196: 190: 183: 177: 167: 165: 161: 153: 151: 147: 132: 126: 120: 96: 51: 45: 26: 20: 12: 11: 5: 1800: 1790: 1789: 1784: 1779: 1764: 1763: 1744: 1725: 1704:and testcases 1658: 1657: 1655: 1654: 1649: 1643: 1640: 1639: 1636: 1635: 1631: 1630: 1628: 1616: 1615: 1613: 1601: 1600: 1593: 1588:OldStyleDateNY 1581: 1580: 1569: 1564:OldStyleDateDY 1557: 1556: 1549: 1537: 1536: 1531: 1530:Template  1525: 1522: 1521: 1511: 1510: 1507: 1506: 1502: 1501: 1499: 1487: 1486: 1484: 1472: 1471: 1469: 1447: 1446: 1444: 1422: 1421: 1416: 1410: 1407: 1406: 1396: 1395: 1392: 1391: 1387: 1386: 1383: 1378:Age for infant 1371: 1370: 1367: 1362:Age as of date 1355: 1354: 1344: 1332: 1331: 1328: 1316: 1315: 1310: 1302: 1301: 1295: 1283: 1282: 1279: 1267: 1266: 1263: 1251: 1250: 1247: 1235: 1234: 1231: 1219: 1218: 1212: 1200: 1199: 1196: 1184: 1183: 1180: 1168: 1167: 1157: 1145: 1144: 1141: 1129: 1128: 1125: 1113: 1112: 1109: 1097: 1096: 1093: 1081: 1080: 1075: 1069: 1066: 1065: 1055: 1054: 1051: 1050: 1046: 1045: 1042: 1030: 1029: 1026: 1014: 1013: 1006: 994: 993: 979: 967: 966: 964: 952: 951: 948: 936: 935: 930: 922: 921: 918: 906: 905: 902: 890: 889: 886: 874: 873: 867: 855: 854: 847: 835: 834: 828: 816: 815: 805: 793: 792: 790: 778: 777: 774: 762: 761: 756: 748: 747: 744: 732: 731: 726: 720: 717: 716: 706: 705: 700: 699: 692: 685: 677: 671: 670: 663: 660: 659: 658: 652: 646: 638: 635: 634: 633: 625: 622: 621: 620: 615: 608: 605: 602: 601: 598: 591: 588: 584: 583: 580: 577: 574: 570: 569: 566: 559: 556: 552: 551: 548: 545: 542: 538: 537: 534: 530: 527: 523: 522: 519: 513: 512: 497: 494: 493: 492: 489: 471: 470: 467: 448: 445: 442: 441: 440: 439: 401: 400: 399: 398: 366: 365: 364: 363: 331: 330: 329: 328: 323:April 12, 1941 302:April 12, 1941 274: 271: 242: 241: 227: 224: 223: 222: 217: 212: 210: 205: 202: 201: 200: 194: 174: 173: 159: 122: 121: 119: 118: 107: 100: 81: 80: 55: 17: 16: 9: 6: 4: 3: 2: 1799: 1788: 1785: 1783: 1780: 1778: 1775: 1774: 1772: 1758: 1754: 1748: 1740: 1736: 1730: 1726: 1721: 1717: 1709: 1701: 1697: 1692: 1685: 1681: 1675: 1671: 1667: 1666:documentation 1653: 1650: 1648: 1645: 1644: 1641: 1629: 1624: 1618: 1617: 1614: 1609: 1603: 1602: 1594: 1589: 1583: 1582: 1578: 1570: 1565: 1559: 1558: 1554: 1550: 1545: 1539: 1538: 1532: 1529: 1528: 1523: 1519:miscellaneous 1516: 1512: 1500: 1495: 1489: 1488: 1485: 1480: 1474: 1473: 1470: 1465: 1455: 1449: 1448: 1445: 1440: 1430: 1424: 1423: 1417: 1414: 1413: 1408: 1401: 1397: 1384: 1379: 1373: 1372: 1368: 1363: 1357: 1356: 1352: 1345: 1340: 1334: 1333: 1329: 1324: 1318: 1317: 1311: 1308: 1307: 1296: 1291: 1285: 1284: 1280: 1275: 1269: 1268: 1264: 1259: 1253: 1252: 1248: 1243: 1237: 1236: 1232: 1227: 1226:Age in months 1221: 1220: 1213: 1208: 1202: 1201: 1197: 1192: 1186: 1185: 1181: 1176: 1170: 1169: 1165: 1158: 1153: 1147: 1146: 1142: 1137: 1131: 1130: 1126: 1121: 1115: 1114: 1110: 1105: 1099: 1098: 1094: 1089: 1083: 1082: 1076: 1073: 1072: 1067: 1060: 1056: 1043: 1038: 1032: 1031: 1027: 1022: 1016: 1015: 1007: 1002: 996: 995: 987: 980: 975: 969: 968: 965: 960: 954: 953: 949: 944: 938: 937: 931: 928: 927: 919: 914: 908: 907: 903: 898: 892: 891: 887: 882: 876: 875: 868: 863: 857: 856: 848: 843: 837: 836: 829: 824: 818: 817: 813: 806: 801: 795: 794: 791: 786: 780: 779: 775: 770: 764: 763: 757: 754: 753: 745: 740: 739:BirthDeathAge 734: 733: 727: 724: 723: 718: 711: 707: 698: 693: 691: 686: 684: 679: 678: 675: 669: 666: 665: 656: 653: 650: 647: 644: 641: 640: 631: 628: 627: 619: 616: 614: 611: 610: 599: 596: 592: 589: 586: 585: 581: 578: 575: 572: 571: 567: 564: 560: 557: 554: 553: 549: 546: 543: 540: 539: 535: 531: 528: 525: 524: 520: 516: 509: 505: 500: 499: 473: 472: 454: 453: 452: 435: 429: 423: 422: 421: 418: 415:(age 83) 403: 402: 394: 388: 387: 386: 383: 380:(age 83) 368: 367: 359: 358:12 April 1941 353: 352: 351: 348: 345:(age 83) 337:12 April 1941 333: 332: 324: 318: 317: 316: 313: 310:(age 83) 298: 297: 294: 291: 286: 270: 268: 263: 261: 257: 250: 237: 236: 235: 233: 218: 213: 211: 208: 207: 195: 189: 188: 187: 182: 172:(age 83) 160: 158:(age 83) 146: 145: 144: 140: 138: 131: 116: 112: 109: 108: 105: 101: 94: 93: 87: 78: 74: 70: 66: 62: 61: 56: 49: 48: 42: 38: 34: 30: 1756: 1747: 1738: 1729: 1626:}} 1620:{{ 1611:}} 1605:{{ 1591:}} 1585:{{ 1567:}} 1561:{{ 1547:}} 1544:OldStyleDate 1541:{{ 1497:}} 1491:{{ 1482:}} 1476:{{ 1467:}} 1461:{{ 1457:}} 1451:{{ 1442:}} 1436:{{ 1432:}} 1426:{{ 1381:}} 1375:{{ 1365:}} 1359:{{ 1342:}} 1336:{{ 1326:}} 1320:{{ 1293:}} 1287:{{ 1277:}} 1271:{{ 1261:}} 1258:Age in weeks 1255:{{ 1245:}} 1239:{{ 1229:}} 1223:{{ 1210:}} 1204:{{ 1194:}} 1191:Age in years 1188:{{ 1178:}} 1172:{{ 1155:}} 1149:{{ 1139:}} 1133:{{ 1123:}} 1117:{{ 1107:}} 1101:{{ 1091:}} 1085:{{ 1040:}} 1034:{{ 1024:}} 1018:{{ 1004:}} 998:{{ 985: 977:}} 971:{{ 962:}} 956:{{ 946:}} 940:{{ 916:}} 910:{{ 900:}} 894:{{ 884:}} 878:{{ 865:}} 859:{{ 845:}} 841: 839:{{ 826:}} 820:{{ 811: 803:}} 797:{{ 788:}} 782:{{ 772:}} 766:{{ 742:}} 736:{{ 618:Template:Age 562: 507: 503: 487:(age 7) 466:(age 7) 450: 433: 427: 419: 404: 392: 384: 369: 357: 349: 334: 322: 314: 299: 292: 288:}} 284: 282:{{ 280:Examples of 278: 264: 252:}} 246:{{ 243: 229: 184:}} 178:{{ 175: 141: 133:}} 129: 127:{{ 125: 73:user subpage 57: 1670:transcluded 1623:Missing for 1274:Age in days 137:microformat 39:] [ 35:] [ 31:] [ 1771:Categories 1664:The above 1454:Start-date 1429:Start date 959:Death-date 943:Death date 785:Birth-date 769:Birth date 587:(optional) 573:(optional) 555:(optional) 541:(optional) 526:(required) 504:birth date 496:Parameters 481:2016-12-31 462:2016-12-31 428:1941-04-12 420:1941-04-12 411:1941-04-12 350:1941-04-12 341:1941-04-12 315:1941-04-12 306:1941-04-12 249:start date 69:/testcases 1718:subpage. 1551:Dates in 645: (0) 576:gregorian 518:Parameter 186:instead: 77:talk page 1464:End-date 1439:End date 1063:age only 662:See also 600:– 568:– 536:– 521:Default 273:Examples 232:ISO 8601 65:/sandbox 1698:| 1691:sandbox 1684:history 1682:| 1339:Age nts 595:ISO8601 582:parm 1 550:parm 1 460: ( 409: ( 374: ( 339: ( 304: ( 168:1941-09 166: ( 152: ( 115:sandbox 37:history 1712:pages. 1708:create 209:Format 150:→ 1941 1672:from 204:Usage 43:] 41:purge 27:[ 1716:/doc 1700:diff 1696:edit 1680:edit 393:1941 385:1941 376:1941 372:1941 154:1941 33:edit 29:view 1668:is 1595:As 1571:As 1323:Age 1008:As 849:As 814:)'. 558:bce 104:Lua 67:or 1773:: 1755:. 1737:. 1676:. 1459:/ 1434:/ 590:dt 565:". 510:}} 483:) 477:→ 437:}} 396:}} 361:}} 326:}} 269:. 262:. 106:: 1722:. 1710:) 1706:( 1702:) 1694:( 1686:) 1678:( 1555:. 1353:. 1166:. 992:. 986:N 812:N 696:e 689:t 682:v 563:b 544:2 529:1 506:| 479:( 464:) 431:| 413:) 378:) 343:) 308:) 170:) 156:) 117:) 113:(

Index

view
edit
history
purge
approximately 14,000 pages
/sandbox
/testcases
user subpage
talk page

Lua
Module:Check for unknown parameters
sandbox
Birth-date and age
microformat
Birth year and age
ISO 8601
start date
Gregorian calendar
Julian calendar
the microformats project
Birth-date and age
ISO8601
Template:Birth-date
Template:Age
Template:Birth date and age
Category:Birth-date and age transclusions with invalid parameters
Category:Date of birth not in Wikidata
Category:Articles without Wikidata item
Knowledge:Age calculation templates

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.