Template talk:UTC
I suggest the date and time be automatically updated when appearing in a page (when reading / loading the wikimedia page).
To appear a concrete date and time in UTC, I suggest use{{UTC:fixed}} ( in a similar way to the time and date in the Wikimedia user´s signature):
2024-12-27 T 07:43 in UTC
Mac.
- The first is a matter of caching, the second you can enter as a feature request. We already have ~~~~~ giving 08:51, 12 Aug 2004 (UTC), but this does not allow one's own formatting.--Patrick 08:51, 12 Aug 2004 (UTC)
Iso8601 Compliance
editThis template's source should really be {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}T{{CURRENTTIME}}Z
to be compliant with Iso8601.
Also, {{CURRENTDAY}}
, &c should be of fixed length.
-Joe Llywelyn Griffith Blakesley 03:26, 2004 Dec 5 (UTC)
- One could do something like this:
- source:
The current [[wikipedia:date|]] and [[wikipedia:time|]] (in [[wikipedia:Iso8601|]] format) is <code>[[wikipedia: {{CURRENTYEAR}}|{{CURRENTYEAR}}]]-[[wikipedia:{{CURRENTMONTHNAME}} {{CURRENTDAY}}|{{CURRENTMONTH}}-{{CURRENTDAY}}]]'''T'''{{CURRENTTIME}}'''[[wikipedia:Coordinated Universal Time|Z]]'''</code><br />In the basic Iso8601 format (NB: time in this is impossible with metawiki), the year is <code>[[wikipedia: {{CURRENTYEAR}}|{{CURRENTYEAR}}]][[wikipedia:{{CURRENTMONTHNAME}} {{CURRENTDAY}}|{{CURRENTMONTH}}{{CURRENTDAY}}]]</code>
- rendered:
- source:
- --Joe Llywelyn Griffith Blakesley 07:01, 2005 Feb 10 (UTC)
Update from Wikipedia
editYes, a proper ISO timestamp would be yyyy-mm-ddThh:mmZ, not the gibberish with spaces, italics T, no Z, and verbose "in UTC".
I've simplified it to a human readable format 2024-12-27 07:43 UTC,
current code: {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}} {{CURRENTTIME}}<small> [[w:UTC|UTC]]</small> ({{purge}})<noinclude>
== Documentation==
{{documentation}}
[[Category:Miscellaneous templates|{{PAGENAME}}]]
</noinclude>
05:53, 19 March 2006 (UTC) Omniplex
T
editTo compliance with the ISO standards it lacks a T between the date and the time. See {{UTC2}}