Template:Time/doc

From Kumu Wiki - TRU
< Template:Time
Revision as of 14:13, 24 October 2013 by Wikiadmin (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a subtemplate of {{Time}}. Do not use this template directly. Instead use {{Time}}.

{{Time}} displays the current time in a certain timezone. The time is calculated based on the offset from UTC for the specified timezone taking into account whether daylight saving time is currently active in that timezone. The offset for each implemented timezone is calculated in a sub template (except for UTC).
Note: Most Wikipedia pages display a cached version of the page to reduce server load, so the template will only display the current time as of when the page was last parsed.

Usage

{{Time}}  →  03:21, November 24, 2024 (UTC) (Purge)
{{Time|HST}}  →  17:21, November 23, 2024 (HST) (Purge)
{{Time|AleutST}}  →  17:21, November 23, 2024 (AleutT) (Purge)
{{Time|AKST}}  →  18:21, November 23, 2024 (AKT) (Purge)
{{Time|PST}}  →  19:21, November 23, 2024 (PT) (Purge)
{{Time|MST}}  →  20:21, November 23, 2024 (MT) (Purge)
{{Time|CST}}  →  21:21, November 23, 2024 (CT) (Purge)
{{Time|EST}}  →  22:21, November 23, 2024 (ET) (Purge)
{{Time|AST}}  →  23:21, November 23, 2024 (AT) (Purge)
{{Time|NST}}  →  23:51, November 23, 2024 (NT) (Purge)
{{Time|PMST}}  →  00:21, November 24, 2024 (PMT) (Purge)
{{Time|WGT}}  →  00:21, November 24, 2024 (WGT) (Purge)
{{Time|UTC}}  →  03:21, November 24, 2024 (UTC) (Purge)
{{Time|GMT}}  →  03:21, November 24, 2024 (GMT / BST) (Purge)
{{Time|CET}}  →  04:21, November 24, 2024 (CET / CEST) (Purge)
{{Time|EET}}  →  05:21, November 24, 2024 (EET) (Purge)
{{Time|IST}}  →  08:51, November 24, 2024 (IST) (Purge)
{{Time|WIT}}  →  10:21, November 24, 2024 (WIT) (Purge)
{{Time|BT}}  →  11:21, November 24, 2024 (BT) (Purge)
{{Time|EIT}}  →  12:21, November 24, 2024 (EIT) (Purge)
{{Time|JST}}  →  12:21, November 24, 2024 (JST) (Purge)
{{Time|NTT}}  →  12:51, November 24, 2024 (NTT) (Purge)
{{Time|ChST}}  →  13:21, November 24, 2024 (ChST) (Purge)
{{Time|NZST}}  →  16:21, November 24, 2024 (NZST) (Purge)

Sub templates

These templates are used to calculate the current offset from UTC for each timezone, taking into account whether daylight saving time is active or not.

Errors

Specifying an unimplemented timezone in the first argument will result in an error, which is displayed using {{FormattingError}}. Pages that contain incorrect use of this template will show up on Category:Pages with incorrect formatting templates use.

See also