Difference between revisions of "Template:Time/HST offset"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(Optimised Code)
 
 
(No difference)

Latest revision as of 13:43, 17 February 2016

-10 hours

Documentation icon Template documentation[view] [edit] [history] [purge]

{{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[edit]

Code Result
{{time}} 15:54, May 12, 2024 UTC (purge)
{{time|HST}} 05:54, May 12, 2024 HST (purge)
{{time|AleutST}} 06:54, May 12, 2024 AleutT (purge)
{{time|AKST}} 07:54, May 12, 2024 AKT (purge)
{{time|PST}} 08:54, May 12, 2024 PT (purge)
{{time|MST}} 09:54, May 12, 2024 MT (purge)
{{time|CST}} 10:54, May 12, 2024 CT (purge)
{{time|EST}} 11:54, May 12, 2024 ET (purge)
{{time|AST}} 12:54, May 12, 2024 AT (purge)
{{time|NST}} 13:24, May 12, 2024 NT (purge)
{{time|PMST}} 13:54, May 12, 2024 PMT (purge)
{{time|WGT}} 13:54, May 12, 2024 WGT (purge)
{{time|UTC}} 15:54, May 12, 2024 UTC (purge)
{{time|GMT}} 16:54, May 12, 2024 GMT / BST (purge)
{{time|CET}} 17:54, May 12, 2024 CET / CEST (purge)
{{time|EET}} 18:54, May 12, 2024 EET (purge)
{{time|IST}} 21:24, May 12, 2024 IST (purge)
{{time|WIT}} 22:54, May 12, 2024 WIT (purge)
{{time|BT}} 23:54, May 12, 2024 BT (purge)
{{time|EIT}} 00:54, May 13, 2024 EIT (purge)
{{time|JST}} 00:54, May 13, 2024 JST (purge)
{{time|NTT}} 01:24, May 13, 2024 NTT (purge)
{{time|ChST}} 01:54, May 13, 2024 ChST (purge)
{{time|NZST}} 03:54, May 13, 2024 NZST (purge)

Subtemplates[edit]

Offset

Links to the subtemplates used to calculate the current offset from UTC for each timezone (taking into account whether daylight saving time is active or not):

Errors[edit]

Specifying an unimplemented timezone in the first argument will trigger a {{formatting error}} and the addition of the page where the template is transcluded to Category:Pages with incorrect formatting templates use.

See also[edit]