Template:Date/doc

Date converts a date to one of the standard date formats.

This template should only be used internally in other templates.

Other acceptable input
A wide variety of other input formats are handled correctly by the template:

Invalid input
Input strings that the template cannot format are returned unaltered. This includes strings containing characters such as square brackets, so any links will result in unformatted output.

TemplateData
{	"params": { "1": {			"label": "date", "description": "Date to be formatted", "example": "Jan 1, 2007", "type": "date", "suggested": true },		"2": {			"label": "format", "description": "Controls the date format for the result", "example": "MDY", "type": "string", "suggested": true, "default": "DMY" }	},	"description": "Converts dates into a format used on Wikipedia" }