Knowledge

Template:Age in weeks

Source 📝

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

Index

view
edit
history
purge
Lua
Module:Age
sandbox
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
Death date and age
Death-date and age
Death date and given age
Death year and age
Age in years, months, weeks and days
Age in years, months and days
Age in years and months
Age in years and days

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