Content deleted Content added
←Created page with '{{Documentation subpage}} ''Work in progress...''' |
No edit summary |
||
Line 1:
{{Documentation subpage}}
This template gives the current minute offset in the given [[time zone]]. It can be used in conjunction with {{tl|Current hour offset in time zone}} to calculate the current time in a particular time zone. See below for the currently supported time zones.
==Usage==
{{Pre|{{((}}Current minute offset in time zone{{!}}''time zone''{{))}}}}
where
*''time zone'' is the desired time zone abbreviation (see below and also the [[list of time zone abbreviations]]);<br />If no time zone is given or if the given time zone is not supported, then the output will default to 0;<br />In this case, instead of giving a time zone, an '''offset''' (e.g. 30, 45, etc.) can also be given;<br />This exact offset will then be used as the output (this functionality is merely included for template compatibility).
==Supported time zones==
Currently the following time zones are supported:
{| class="wikitable"
|-
! Abbreviations
! Name
! Offset (summer)
! Notes
|-
| '''HST'''
| Hawaii Standard Time
| UTC-10:00
| rowspan="19" | The minute offset of standard time does not differ from the minute offset of [[Daylight saving time|Daylight Saving Time]] (DST; if applicable).
|-
| '''HAT / HAST (HADT)'''
| Hawaii-Aleutian Standard(/Daylight) Time
| UTC-10:00 (UTC-09:00)
|-
| '''AKT / AKST (AKDT)'''
| Alaska Standard(/Daylight) Time
| UTC-09:00 (UTC-08:00)
|-
| '''PT / PST (PDT)'''
| Pacific Standard(/Daylight) Time
| UTC-08:00 (UTC-07:00)
|-
| '''MT / MST (MDT)'''
| Mountain Standard(/Daylight) Time
| UTC-07:00 (UTC-06:00)
|-
| '''CT / CST (CDT)'''
| Central Standard(/Daylight) Time
| UTC-06:00 (UTC-05:00)
|-
| '''ET / EST (EDT)'''
| Eastern Standard(/Daylight) Time
| UTC-05:00 (UTC-04:00)
|-
| '''AT / AST (ADT)'''
| Atlantic Standard(/Daylight) Time
| UTC-04:00 (UTC-03:00)
|-
| '''NT / NST (NDT)'''
| Newfoundland Standard(/Daylight) Time
| UTC-03:30 (UTC-02:30)
|-
| style="background-color:#F2F2F2" | '''GMT (BST)'''
| style="background-color:#F2F2F2" | Greenwich Mean Time<br />(British Summer Time)
| style="background-color:#F2F2F2" | UTC+00:00 (UTC+01:00)
|-
| style="background-color:#F2F2F2" | '''WET (WEST)'''
| style="background-color:#F2F2F2" | Western European (Summer) Time
| style="background-color:#F2F2F2" | UTC+00:00 (UTC+01:00)
|-
| style="background-color:#F2F2F2" | '''CET (CEST)'''
| style="background-color:#F2F2F2" | Central European (Summer) Time
| style="background-color:#F2F2F2" | UTC+01:00 (UTC+02:00)
|-
| style="background-color:#F2F2F2" | '''EET (EEST)'''
| style="background-color:#F2F2F2" | Eastern European (Summer) Time
| style="background-color:#F2F2F2" | UTC+02:00 (UTC+03:00)
|-
| '''AWT / AWST'''
| Australian Western Standard Time
| UTC+08:00
|-
| style="white-space:nowrap" | '''ACT / ACST (ACDT)'''
| Australian Central Standard(/Daylight) Time
| UTC+09:30 (UTC+10:30)
|-
| '''AET / AEST (AEDT)'''
| style="white-space:nowrap" | Australian Eastern Standard(/Daylight) Time
| UTC+10:00 (UTC+11:00)
|-
| style="background-color:#F2F2F2" | '''KST'''
| style="background-color:#F2F2F2" | Korea Standard Time
| style="background-color:#F2F2F2" | UTC+09:00
|-
| style="background-color:#F2F2F2" | '''JST'''
| style="background-color:#F2F2F2" | Japan Standard Time
| style="background-color:#F2F2F2" | UTC+09:00
|-
| '''NZT / NZST (NZDT)'''
| New Zealand Standard(/Daylight) Time
| UTC+12:00 (UTC+13:00)
|}
==Time zone map==
[[File:Worldwide Time Zones (including DST).png|center|800px]]
==Examples==
<small>(You may want to {{Purge|purge}} this page to update the output.)</small>
{{Pre|<nowiki>*</nowiki>{{((}}Current minute offset in time zone{{!}}CET{{))}}}}
produces
*{{Current minute offset in time zone|CET}}
{{Pre|<nowiki>*</nowiki>{{((}}Current minute offset in time zone{{!}}MDT{{))}}}}
produces
*{{Current minute offset in time zone|MDT}}
{{Pre|<nowiki>*</nowiki>{{((}}Current minute offset in time zone{{!}}ACT{{))}}}}
produces
*{{Current minute offset in time zone|ACT}}
{{Pre|<nowiki>*</nowiki>{{((}}Current minute offset in time zone{{!}}45{{))}}}}
produces
*{{Current minute offset in time zone|45}}
{{Pre|<nowiki>*</nowiki>{{((}}Current minute offset in time zone{{))}}}}
produces
*{{Current minute offset in time zone}}
|