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 2025
- YYYY-MM, for example 2025-04
- YYYY-MM-DD, for example 2025-04-02
- YYYY-MM-DD hh:mm, for example 2025-04-02 12:24
- YYYY-MM-DD hh:mm:ss, for example 2025-04-02 12:24:24
Documentation issues
None of the named parameters are documented.