Template:ISO date/doc

From blackwiki
< Template:ISO date
Revision as of 21:10, 10 November 2008 by imported>Trödel (fix title in category)
Jump to navigation Jump to search

This template converts dates formatted as DD MMMM YYYY and as MMMM DD, YYYY to the correct ISO format for use in tables that are expected to be sortable by date

Usage

The template accepts one parameter - either named or unnamed. For example:

  • {{ISO date|15 January 2001}} returns 2001-01-15
  • {{ISO date|date = 10 January 2001}} returns 2026-01-17

See also