Template:Time

From Encyclopedia Thelemica
Jump to navigationJump to search
[edit] [purge] 50px 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).

Usage

{{Time}}  →  10:34, January 21, 2021 (UTC)
{{Time|UTC}}  →  10:34, January 21, 2021 (UTC)
{{Time|GMT}}  →  10:34, January 21, 2021 (GMT)
{{Time|CET}}  →  11:34, January 21, 2021 (CET)
{{Time|EET}}  →  12:34, January 21, 2021 (EET)
{{Time|PST}}  →  02:34, January 21, 2021 (PST)
{{Time|MST}}  →  03:34, January 21, 2021 (MST)
{{Time|IST}}  →  16:04, January 21, 2021 (IST)
{{Time|CST}}  →  04:34, January 21, 2021 (CST)
{{Time|EST}}  →  05:34, January 21, 2021 (EST)
{{Time|AST}}  →  06:34, January 21, 2021 (AST)
{{Time|AKST}}  →  01:34, January 21, 2021 (AKST)
{{Time|HST}}  →  00:34, January 21, 2021 (HAST)
{{Time|ChST}}  →  20:34, January 21, 2021 (ChST)
{{Time|BT}}  →  18:34, January 21, 2021 (BT)
{{Time|WIT}}  →  17:34, January 21, 2021 (WIT)
{{Time|EIT}}  →  19:34, January 21, 2021 (EIT)

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