Template:ISOdate
Jump to navigation
Jump to search
The following template description is not displayed when the template is inserted in an article.
Goal
This template is used for formatting date and time to the form YYYY-MM-DD hh:mm:ss or a subset.
Usage
{{ISOdate|date and time}}.
The mandatory parameter date and time can be in one of the following formats:
- YYYY, for example 2024
- YYYY-MM, for example 2024-12
- YYYY-MM-DD, for example 2024-12-22
- YYYY-MM-DD hh:mm, for example 2024-12-22 06:01
- YYYY-MM-DD hh:mm:ss, for example 2024-12-22 06:01:33
Documentation issues
None of the named parameters are documented.