Template:Datetime
Example:
{{Datetime|2025-01-25T08:40:00}}
{{#if:2025-01-25T08:40:00|2025-01-25T08:40:00 08:40
{{Datetime|{{CURRENTYEAR}}-{{CURRENTMONTH2}}-{{CURRENTDAY2}}T{{CURRENTTIME}}:00}}
{{#if:2025-04-06T20:29:00|2025-04-06T20:29:00 20:29
Shows a date and time, localised to the user's preference.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Time | 1 | The time on a given date, given in ISO 8601 format (YYYY-MM-DDTHH:MM:SS and optionally a time zone). | String | required |