Search results
Results from the WOW.Com Content Network
|format=commas gives numbers formatted with commas and true minus signs. For reasons of retrospective compatibility, the default when inputting dates as year, month and day is |format=raw ; however when inputting dates in full it is |format=commas .
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: {{Age in years, months, weeks and days |month1 = 1 |day1 = 1 |year1 = 1 }} → 2023 years, 11 months, 2 weeks and 6 days
Period is a duration (has an extra day to include the end date). format=commas: Numbers over 999 are formatted with commas. format=raw: Use a hyphen (-) to indicate a negative date difference instead of a minus (−); a hyphen may allow the result to be used in a calculation. sep=comma: Separator between items is a comma: 1 year, 2 months, 3 days.
An overnight period may be expressed using a slash between two contiguous dates: the night raids of 30/31 May 1942 or raids of 31 May / 1 June 1942. Or use an en dash: (unspaced) raids of 30–31 May 1942; (spaced) raids of 31 May – 1 June 1942. The {} template can keep ages current in infoboxes and so on: {{age|1989|7|23}} returns: 35
If you use this template for calculating someone's age in months at death or age in months at a certain date (rather than their current age in months), please substitute it into the page, for example: {{subst:age in months|1989|7|23|2003|7|14}}.
Ongoing maintenance of date formats may one day be carried out by bots on articles already tagged with templates ({{use dmy dates}} or {{use mdy dates}}) which help to identify the correct format. Potentially ambiguous dates, using slashes or full stops (6/7/1961, 12/07/1986, 6.7.1961, 12.07.1986) are re-appearing on some thousands of pages ...
The End date and age template displays the date that an event or entity ended. Template parameters [Edit template data] Parameter Description Type Status Year 1 A four-digit number indicating the year Example 2017 Number required Month 2 A number between 1 and 12 indicating the month Example 12 Number suggested Day 3 A number between 1 and 31 indicating the day of the month Example 31 Number ...
Wikipedia's guidelines for formatting dates (MOS:DATEFORMAT) set out the three date formats acceptable for use in Wikipedia articles, namely: Day–month–year (DMY) format—e.g., 12 January 2025 or 12 Jan 2025; Month–day–year (MDY) format—e.g., January 12, 2025 or Jan 12, 2025;