[purge]
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more informationShortcut
Auto-generates the current date and/or time.
Usage[]
|1= should be an arrangement of date or time values; see below.
Parameters[]
Main article: mw:Help:Extension:ParserFunctions § time
Also accepts shortcuts:
dmy= 6 October 2023mdyor (blank) = October 6, 2023ymd= 2023-10-06
Examples[]
{{datetime}}- October 6, 2023
{{datetime|d/m/y}}- 06/10/23
{{datetime|H:i:s (e)}}- 21:05:01 (UTC)
{{datetime|l j F Y, g:i:s a (e)}}- Friday 6 October 2023, 9:05:01 pm (UTC)
{{datetime|c}}- 2023-10-06T21:05:01+00:00
{{datetime|y"w"W"a"}}- 23w40a