Knowledge

Template:Age in years, months, weeks and days

Source 📝

21: 52: 90: 1217: 1228: 1213: 1201: 36: 264:
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}}.
1240: 1197: 32: 40: 422:
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.
212: 1223: 68: 132:
Note that all parameters default to the current date, so for example, the second set of parameters can be left out to calculate elapsed time since a past date:
1208: 64: 76: 59: 1236: 1191: 28: 379: 205: 198: 621: 414: 147: 430: 1256: 1169: 1164: 185: 669: 164:
Alternatively, the first set of parameters can be left out to get the time left until a future date, such as the next
538: 1183: 903:
Current age for infant: months and days up to one year, years and months up to three years, and years beyond age 3.
637: 438:
To display approximate birth year based on age at death, or on age at a specific date if death date isn't known.
759: 653: 692: 340: 996: 554: 518: 491: 398: 359: 317: 1125: 1011: 724: 807: 1105: 1081: 895: 879: 165: 119:
This template returns the number of months, weeks and days that have elapsed between two dates.
128:{{Age in years, months, weeks and days |month1 = |day1 = |year1 = |month2 = |day2 = | year2 = }} 743: 256: 72: 1061: 775: 708: 1140: 868: 791: 681: 8: 971: 946: 476: 460: 302: 286: 107: 530:, but accepts dates in text form ('15 June 1950', 'June 15, 1950', 'June 1950', etc.). 371:, but accepts dates in text form ('15 June 1950', 'June 15, 1950', 'June 1950', etc.). 1187: 981: 956: 700:
Number of years between two dates, rounded to the specified number of decimal places.
856: 1070: 190: 1094: 173:{{Age in years, months, weeks and days |month2 = 1 |day2 = 15 |year2 = 2025 }} 1250: 96: 840: 15: 137:{{Age in years, months, weeks and days |month1 = 1 |day1 = 1 |year1 = 1 }} 158:{{Age in years, months, weeks and days |month = 1 |day = 1 |year = 1 }} 103: 390:, but with the age displayed in years and days rather than just years. 613:
Number of complete years, months, weeks and days between two dates.
63:
and changes may be widely noticed. Test changes in the template's
645:
Number of complete years and remaining months between two dates.
661:
Number of complete years and remaining days between two dates.
143:
Or simply, using the simpler parameter names, compatible with
160:→ 2023 years, 8 months, 4 weeks and 1 day 139:→ 2023 years, 8 months, 4 weeks and 1 day 887:
Current age (in years) from a known age at a specified date.
629:
Number of complete years, months and days between two dates.
848:
Age based on number of complete years between two dates.
818:
with output formatted for use in number sortable tables.
735:
with output formatted for use in number sortable tables.
468:
To display a death date and related hidden metadata.
294:
To display a birth date and related hidden metadata.
562:
To display a year of, and approximate age at death.
220: 1192:Template:Age in years, months, weeks and days/doc 1248: 678:{{Age in years and days}} 206: 175:→ 3 months, 2 weeks and 2 days 767:Number of weeks and days between two dates. 1207:Editors can experiment in this template's 546:To display a death date and specified age. 528:{{Death date and age}} 508:{{event date and age}} 388:{{Birth date and age}} 369:{{Birth date and age}} 349:{{Birth date and age}} 213: 199: 18: 1249: 1035: 921: 920: 827:Reverse-determined age template  579: 231: 230: 194: 75:. Consider discussing changes on the 1115:{{OldStyleDate}} 1091:{{OldStyleDate}} 733:{{Age in years}} 606:Age in years, months, weeks and days 380:Birth date and age in years and days 84: 46: 816:{{Age in days}} 751:Number of months between two dates. 186:Knowledge:Age calculation templates 13: 783:Number of weeks between two dates. 716:Number of years between two dates. 500:{{Death date}} 406:Year of birth and approximate age. 326:{{Birth date}} 14: 1268: 1036: 867:with output formatted for use in 680:with output formatted for use in 1052:Description / use  937:Description / use  831:Description / use  596:Description / use  592:Conventional age templates  451:Description / use  351:plus age as of a specified date. 277:Description / use  247:Description / use  88: 50: 19: 1165:About age calculation templates 799:Age in days between two dates. 221:Birth, death and age templates 60:approximately 4,500 pages 1: 622:Age in years, months and days 415:Birth based on age as of date 148:Age in years, months and days 933:Date-focused templates  580: 7: 865:{{Age}} 431:Birth based on age at death 243:Combined BDA template  179: 10: 1273: 1257:Date mathematics templates 1181: 1170:Date mathematics templates 922:start / end dates 1241:Subpages of this template 1160: 1042: 1031: 927: 916: 670:Age in years and days nts 586: 575: 237: 226: 79:before implementing them. 71:subpages, or in your own 58:This template is used on 1097:fall in different years. 539:Death date and given age 122: 1093:but used when Julian / 638:Age in years and months 1235:Add categories to the 869:number sortable tables 682:number sortable tables 24:Template documentation 1117:but without the year. 760:Age in weeks and days 654:Age in years and days 506:)'; also called with 447:Death templates  273:Birth templates  693:Age in decimal years 95:This template uses 502:with suffix '(aged 341:Birth date and age2 997:Start date and age 555:Death year and age 519:Death-date and age 492:Death date and age 399:Birth year and age 360:Birth-date and age 328:with suffix '(age 318:Birth date and age 1178: 1177: 1156: 1155: 1151: 1150: 1027: 1026: 1022: 1021: 912: 911: 907: 906: 822: 821: 571: 570: 566: 565: 442: 441: 268: 267: 232:birth, death, age 117: 116: 83: 82: 1264: 1232: 1221: 1205: 1145: 1139: 1130: 1126:Unidentified for 1124: 1116: 1110: 1104: 1092: 1086: 1080: 1066: 1060: 1053: 1045: 1044: 1033: 1032: 1016: 1012:End date and age 1010: 1001: 995: 986: 980: 976: 970: 961: 955: 951: 945: 938: 930: 929: 918: 917: 900: 894: 884: 878: 866: 861: 855: 845: 839: 832: 824: 823: 817: 812: 806: 796: 790: 780: 774: 764: 758: 748: 742: 734: 729: 725:Age in years nts 723: 713: 707: 697: 691: 679: 674: 668: 658: 652: 642: 636: 626: 620: 610: 604: 597: 589: 588: 577: 576: 559: 553: 543: 537: 529: 523: 517: 509: 501: 496: 490: 481: 475: 465: 459: 452: 444: 443: 435: 429: 419: 413: 403: 397: 389: 384: 378: 370: 364: 358: 350: 345: 339: 327: 322: 316: 307: 301: 291: 285: 278: 270: 269: 261: 255: 248: 240: 239: 228: 227: 215: 208: 201: 192: 191: 174: 159: 152: 146: 138: 129: 92: 91: 85: 54: 53: 47: 44: 25: 23: 22: 1272: 1271: 1267: 1266: 1265: 1263: 1262: 1261: 1247: 1246: 1245: 1244: 1234: 1226: 1211: 1206: 1195: 1180: 1179: 1174: 1152: 1143: 1137: 1128: 1122: 1114: 1108: 1102: 1095:Gregorian dates 1090: 1084: 1078: 1071:Julian calendar 1064: 1058: 1051: 1038: 1023: 1014: 1008: 999: 993: 984: 978: 974: 968: 959: 953: 949: 943: 936: 923: 908: 898: 892: 882: 876: 864: 859: 853: 843: 837: 830: 815: 810: 808:Age in days nts 804: 794: 788: 778: 772: 762: 756: 746: 740: 732: 727: 721: 711: 705: 695: 689: 677: 672: 666: 656: 650: 640: 634: 624: 618: 608: 602: 595: 582: 567: 557: 551: 541: 535: 527: 521: 515: 507: 499: 494: 488: 479: 473: 463: 457: 450: 433: 427: 417: 411: 401: 395: 387: 382: 376: 368: 362: 356: 348: 343: 337: 325: 320: 314: 305: 299: 289: 283: 276: 259: 253: 246: 233: 222: 219: 182: 172: 157: 150: 144: 136: 127: 125: 113: 89: 51: 45: 26: 20: 12: 11: 5: 1270: 1260: 1259: 1176: 1175: 1173: 1172: 1167: 1161: 1158: 1157: 1154: 1153: 1149: 1148: 1146: 1134: 1133: 1131: 1119: 1118: 1111: 1106:OldStyleDateNY 1099: 1098: 1087: 1082:OldStyleDateDY 1075: 1074: 1067: 1055: 1054: 1049: 1048:Template  1043: 1040: 1039: 1029: 1028: 1025: 1024: 1020: 1019: 1017: 1005: 1004: 1002: 990: 989: 987: 965: 964: 962: 940: 939: 934: 928: 925: 924: 914: 913: 910: 909: 905: 904: 901: 896:Age for infant 889: 888: 885: 880:Age as of date 873: 872: 862: 850: 849: 846: 834: 833: 828: 820: 819: 813: 801: 800: 797: 785: 784: 781: 769: 768: 765: 753: 752: 749: 737: 736: 730: 718: 717: 714: 702: 701: 698: 686: 685: 675: 663: 662: 659: 647: 646: 643: 631: 630: 627: 615: 614: 611: 599: 598: 593: 587: 584: 583: 573: 572: 569: 568: 564: 563: 560: 548: 547: 544: 532: 531: 524: 512: 511: 497: 485: 484: 482: 470: 469: 466: 454: 453: 448: 440: 439: 436: 424: 423: 420: 408: 407: 404: 392: 391: 385: 373: 372: 365: 353: 352: 346: 334: 333: 323: 311: 310: 308: 296: 295: 292: 280: 279: 274: 266: 265: 262: 250: 249: 244: 238: 235: 234: 224: 223: 218: 217: 210: 203: 195: 189: 188: 181: 178: 177: 176: 162: 161: 141: 140: 124: 121: 115: 114: 112: 111: 100: 93: 81: 80: 55: 17: 16: 9: 6: 4: 3: 2: 1269: 1258: 1255: 1254: 1252: 1242: 1238: 1230: 1225: 1219: 1215: 1210: 1203: 1199: 1193: 1189: 1185: 1184:documentation 1171: 1168: 1166: 1163: 1162: 1159: 1147: 1142: 1136: 1135: 1132: 1127: 1121: 1120: 1112: 1107: 1101: 1100: 1096: 1088: 1083: 1077: 1076: 1072: 1068: 1063: 1057: 1056: 1050: 1047: 1046: 1041: 1037:miscellaneous 1034: 1030: 1018: 1013: 1007: 1006: 1003: 998: 992: 991: 988: 983: 973: 967: 966: 963: 958: 948: 942: 941: 935: 932: 931: 926: 919: 915: 902: 897: 891: 890: 886: 881: 875: 874: 870: 863: 858: 852: 851: 847: 842: 836: 835: 829: 826: 825: 814: 809: 803: 802: 798: 793: 787: 786: 782: 777: 771: 770: 766: 761: 755: 754: 750: 745: 744:Age in months 739: 738: 731: 726: 720: 719: 715: 710: 704: 703: 699: 694: 688: 687: 683: 676: 671: 665: 664: 660: 655: 649: 648: 644: 639: 633: 632: 628: 623: 617: 616: 612: 607: 601: 600: 594: 591: 590: 585: 578: 574: 561: 556: 550: 549: 545: 540: 534: 533: 525: 520: 514: 513: 505: 498: 493: 487: 486: 483: 478: 472: 471: 467: 462: 456: 455: 449: 446: 445: 437: 432: 426: 425: 421: 416: 410: 409: 405: 400: 394: 393: 386: 381: 375: 374: 366: 361: 355: 354: 347: 342: 336: 335: 331: 324: 319: 313: 312: 309: 304: 298: 297: 293: 288: 282: 281: 275: 272: 271: 263: 258: 257:BirthDeathAge 252: 251: 245: 242: 241: 236: 229: 225: 216: 211: 209: 204: 202: 197: 196: 193: 187: 184: 183: 171: 170: 169: 167: 166:Knowledge Day 156: 155: 154: 149: 135: 134: 133: 130: 120: 109: 105: 102: 101: 98: 94: 87: 86: 78: 74: 70: 66: 62: 61: 56: 49: 48: 42: 38: 34: 30: 1144:}} 1138:{{ 1129:}} 1123:{{ 1109:}} 1103:{{ 1085:}} 1079:{{ 1065:}} 1062:OldStyleDate 1059:{{ 1015:}} 1009:{{ 1000:}} 994:{{ 985:}} 979:{{ 975:}} 969:{{ 960:}} 954:{{ 950:}} 944:{{ 899:}} 893:{{ 883:}} 877:{{ 860:}} 854:{{ 844:}} 838:{{ 811:}} 805:{{ 795:}} 789:{{ 779:}} 776:Age in weeks 773:{{ 763:}} 757:{{ 747:}} 741:{{ 728:}} 722:{{ 712:}} 709:Age in years 706:{{ 696:}} 690:{{ 673:}} 667:{{ 657:}} 651:{{ 641:}} 635:{{ 625:}} 619:{{ 609:}} 605: 603:{{ 558:}} 552:{{ 542:}} 536:{{ 522:}} 516:{{ 503: 495:}} 489:{{ 480:}} 474:{{ 464:}} 458:{{ 434:}} 428:{{ 418:}} 412:{{ 402:}} 396:{{ 383:}} 377:{{ 363:}} 357:{{ 344:}} 338:{{ 329: 321:}} 315:{{ 306:}} 300:{{ 290:}} 284:{{ 260:}} 254:{{ 163: 151:}} 145:{{ 142: 131: 126: 118: 73:user subpage 57: 1188:transcluded 1141:Missing for 792:Age in days 39:] [ 35:] [ 31:] [ 1182:The above 972:Start-date 947:Start date 477:Death-date 461:Death date 303:Birth-date 287:Birth date 104:Module:Age 69:/testcases 1239:subpage. 1224:testcases 1069:Dates in 77:talk page 1251:Category 982:End-date 957:End date 581:age only 180:See also 65:/sandbox 1216:| 1209:sandbox 1202:history 1200:| 857:Age nts 108:sandbox 37:history 1233:pages. 1190:from 123:Usage 43:] 41:purge 27:[ 1237:/doc 1229:edit 1222:and 1218:diff 1214:edit 1198:edit 33:edit 29:view 1186:is 1113:As 1089:As 841:Age 526:As 367:As 332:)'. 97:Lua 67:or 1253:: 1194:. 977:/ 952:/ 168:: 153:: 99:: 1243:. 1231:) 1227:( 1220:) 1212:( 1204:) 1196:( 1073:. 871:. 684:. 510:. 504:N 330:N 214:e 207:t 200:v 110:) 106:(

Index

view
edit
history
purge
approximately 4,500 pages
/sandbox
/testcases
user subpage
talk page
Lua
Module:Age
sandbox
Age in years, months and days
Knowledge Day
Knowledge:Age calculation templates
v
t
e
BirthDeathAge
Birth date
Birth-date
Birth date and age
Birth date and age2
Birth-date and age
Birth date and age in years and days
Birth year and age
Birth based on age as of date
Birth based on age at death
Death date
Death-date

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