Template:Current hour in time zone/doc: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 15:
==Supported time zones==
Currently the following time zones are supported:
{{Current hour offset in time zone/doc|table}}
{| class="wikitable"
|-
! Abbreviations
! Name
! Offset (summer)
! Notes
|-
| '''HST'''
| Hawaii Standard Time
| UTC-10:00
| rowspan="9" | When <code>dst</code> is NOT set to "no", the *T, *ST and *DT variants of a particular time zone will produce the same output and can be used interchangeably.
Otherwise (when using <code>dst=no</code>), *T and *ST will produce the hour without DST adjustment, and *DT will produce the hour with DST adjustment.
 
DST is not observed in Hawaii.
|-
| '''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" | When <code>dst</code> is NOT set to "no", both the GMT and BST variants of this time zone will produce the same output and can be used interchangeably.
Otherwise (when using <code>dst=no</code>), GMT will produce the hour without DST adjustment, and BST will produce the hour with DST adjustment.
|-
| 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" rowspan="3" | When <code>dst</code> is NOT set to "no", both the *ET and *EST variants of a particular time zone will produce the same output and can be used interchangeably.
Otherwise (when using <code>dst=no</code>), *ET will produce the hour without DST adjustment, and *EST will produce the hour with DST adjustment.
|-
| 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
| rowspan="3" | When <code>dst</code> is NOT set to "no", the *T, *ST and *DT variants of a particular time zone will produce the same output and can be used interchangeably.
Otherwise (when using <code>dst=no</code>), *T and *ST will produce the hour without DST adjustment, and *DT will produce the hour with DST adjustment.
 
DST is not observed in the AWT time zone.
|-
| 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" rowspan="2" | DST is not observed in these time zones. It is not necessary to set <code>dst</code>.
|-
| 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)
| When <code>dst</code> is NOT set to "no", the NZT, NZST and NZDT variants of this time zone will produce the same output and can be used interchangeably.
Otherwise (when using <code>dst=no</code>), NZT and NZST will produce the hour without DST adjustment, and NZDT will produce the hour with DST adjustment.
|}
 
==Time zone map==
[[File:Worldwide Time Zones (including DST).png|center|800px]]