Template:Format date/doc

Usage
This template (Format date) returns a date, or date-time, without the hidden version for use in microformats. This template is probably best used internally in other templates.

If you need the microformat support, use template Start date instead.

If you want sortable dates for a table, use Date table sorting instead.

Syntax

 * (MM and SS are optional; TimeZone may be a numerical value, or "Z" for UTC; see examples)
 * (MM and SS are optional; TimeZone may be a numerical value, or "Z" for UTC; see examples)

Examples:


 * returns ""
 * returns ""
 * returns ""
 * returns ""
 * returns ""
 * returns ""
 * returns ""
 * returns ""
 * returns ""
 * returns ""

An optional parameter, df, can be set to "y" or "yes" (or indeed any value) to display the day before the month. This is primarily used in articles about events in parts of the world where the day precedes the month in a date.

Examples:


 * returns ""
 * returns ""

Note: The template will appear broken when the parameters are left blank (as seen hereinbefore).