Difference between revisions of "Template:ISO date/doc"
Jump to navigation
Jump to search
imported>Trödel (make list of examples bulletted list) |
imported>Trödel m (fix title in category) |
||
| Line 12: | Line 12: | ||
<includeonly> | <includeonly> | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
| − | [[Category:Date mathematics templates]] | + | [[Category:Date mathematics templates|ISO date]] |
</includeonly> | </includeonly> | ||
Revision as of 21:10, 10 November 2008
| This is a documentation subpage for Template:ISO date. It contains usage information, categories and other content that is not part of the original template page. |
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-16