Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

{{End date}} returns the date (or date and time) that an event or entity ended, in a standard format. It also includes a hidden (by CSS) duplicate, machine-readable date (or date and time) in the ISO date format, for use inside templates or table rows that emit microformats.

Usage

  • {{End date|YYYY}} (year only)
  • {{End date|YYYY|MM}} (month and year)
  • {{End date|YYYY|MM|DD}} (year, month, and day)
  • {{End date|YYYY|MM|DD|HH|MM|SS|Time zone}} (date, time, and time zone)

Parameters

  • The unnamed parameters, in order, represent the year (four digits), month (one or two digits), day (one or two digits), hour in 24-hour time (one or two digits), minutes (one or two digits), seconds (one or two digits), and the time zone (see below).
  • When specifying time of day, MM (minutes), SS (seconds), and the time zone are optional
  • Time zone may be a numerical value, or Z for UTC (see examples)
  • |df=yes, an optional parameter, can be set to display the day before the month (e.g. "7 November 2004" instead of the default "November 7, 2004"). The order of parameters does not change (it remains YMD). This is primarily used in articles using DMY format for dates.

Examples

  • {{End date|1993}} ? 1993 (1993)
  • {{End date|1993|02}} ?  1993 (1993-02)
  • {{End date|1993|02|24}} ?  24, 1993 (1993-02-24)
  • {{End date|1993|02|24|08|30}} ? 08:30,  24, 1993 (1993-02-24T08:30)
  • {{End date|1993|02|24|08|7=+01:00}} ?  24, 1993 (+01:00) (1993-02-24T08+01:00)
  • {{End date|1993|02|24|08|7=−07:00}} ?  24, 1993 (−07:00) (1993-02-24T08−07:00)
  • {{End date|1993|02|24|08|30|23}} ? 08:30:23,  24, 1993 (1993-02-24T08:30:23)
  • {{End date|1993|02|24|08|30|23|Z}} ? 08:30:23,  24, 1993 (UTC) (1993-02-24T08:30:23Z)
  • {{End date|1993|02|24|08|30|23|+01:00}} ? 08:30:23,  24, 1993 (+01:00) (1993-02-24T08:30:23+01:00)
  • {{End date|1993|02|24|08|30|23|−07:00}} ? 08:30:23,  24, 1993 (−07:00) (1993-02-24T08:30:23−07:00)
  • {{End date|1993|02|24|df=y}} ? 24  1993 (1993-02-24)
  • {{End date|1993|02|24|08|30|df=yes}} ? 08:30, 24  1993 (1993-02-24T08:30)

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:End date in articles based on its TemplateData.

TemplateData for End date

Date that an event or entity ended or was dissolved

Template parameters

ParameterDescriptionTypeStatus
YYYY1

End year

Numberrequired
MM2

End month

Numbersuggested
DD3

End day of month

Numbersuggested
HH4

End hours

Numberoptional
MM5

End minutes

Default
0
Numberoptional
SS6

End seconds

Default
0
Numberoptional
TZ7

Time zone offset, "+02:00", "-06:00" or "Z" for UTC

Lineoptional
day firstdf

Boolean parameter to put the date before the month name

Default
false
Booleanoptional

Use in microformats

The template returns the date as hCalendar's (class="dtend"). For example:

<span class="dtend">1993-02-24T08:30</span>

Disable CSS or view source to see the hidden ISO-formatted output.

Note: due to the requirement exclusive dtend in hCalendar, and the accessibility problems that presents when a date is rendered (as seen without CSS) as 28 March 1999 (1999-03-29) or even 28 February 1999 (1999-03-01) or 31 December 1999 (2000-01-01), the template should not be used for whole-day dates and should have a time of 24:00:00 or 23:59:59.

See the microformats project for further details.

Example, including hidden machine-readable text

  • {{End date|2016|12|31}} →  31, 2016 (2016-12-31)
    &nbsp;31,&nbsp;2016<span style="display:none">&#160;(<span class="dtend itvend">2016-12-31</span>)</span>

Tracking categories

See also

Template:Birth, death and age templates