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

This template is used to add date sorting and formatting to a table cell.

Usage

Enter the desired date as the first parameter as per the table below. A month and day are not required. For year pages, the year is omitted.

Cell contents Result
{{td|20250626}} June 26, 2025
{{td|202506}} June 2025
{{td|2025}} 2025
{{td|0626}} June 26
{{td|06}} June

For unknown dates, {{unknown}} is used.

Preferred date format

The date printed by this template will change format depending on the users' preferences. To set your preferred format, make sure you have an account and are logged in. Access your preferences (in the default desktop skin, click on your user name in the top right, on the default mobile skin, open the menu on the left-hand side), select the "Appearance" tab, and select a date format under the "Date format" header. Note that only dates created using this template will change format.