Template:Time

From Kumu Wiki - TRU
Jump to navigation Jump to search
[edit] Template-info.svg Template documentation

{{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}}  →  04:20, October 14, 2024 (UTC) (Purge)
{{Time|HST}}  →  18:20, October 13, 2024 (HST) (Purge)
{{Time|AleutST}}  →  19:20, October 13, 2024 (AleutT) (Purge)
{{Time|AKST}}  →  20:20, October 13, 2024 (AKT) (Purge)
{{Time|PST}}  →  21:20, October 13, 2024 (PT) (Purge)
{{Time|MST}}  →  22:20, October 13, 2024 (MT) (Purge)
{{Time|CST}}  →  23:20, October 13, 2024 (CT) (Purge)
{{Time|EST}}  →  00:20, October 14, 2024 (ET) (Purge)
{{Time|AST}}  →  01:20, October 14, 2024 (AT) (Purge)
{{Time|NST}}  →  01:50, October 14, 2024 (NT) (Purge)
{{Time|PMST}}  →  02:20, October 14, 2024 (PMT) (Purge)
{{Time|WGT}}  →  02:20, October 14, 2024 (WGT) (Purge)
{{Time|UTC}}  →  04:20, October 14, 2024 (UTC) (Purge)
{{Time|GMT}}  →  05:20, October 14, 2024 (GMT / BST) (Purge)
{{Time|CET}}  →  06:20, October 14, 2024 (CET / CEST) (Purge)
{{Time|EET}}  →  07:20, October 14, 2024 (EET) (Purge)
{{Time|IST}}  →  09:50, October 14, 2024 (IST) (Purge)
{{Time|WIT}}  →  11:20, October 14, 2024 (WIT) (Purge)
{{Time|BT}}  →  12:20, October 14, 2024 (BT) (Purge)
{{Time|EIT}}  →  13:20, October 14, 2024 (EIT) (Purge)
{{Time|JST}}  →  13:20, October 14, 2024 (JST) (Purge)
{{Time|NTT}}  →  13:50, October 14, 2024 (NTT) (Purge)
{{Time|ChST}}  →  14:20, October 14, 2024 (ChST) (Purge)
{{Time|NZST}}  →  17:20, October 14, 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

ko:틀:시간 simple:Template:Time mk:Шаблон:Моменталновреме ja:Template:時間 ru:Шаблон:Time