Template:Current hour in time zone
13
This template gives the current hour in the given time zone in 24-hour format.
It makes use of {{Current hour offset in time zone}} which, unless the dst parameter is used, automatically adjusts the hour according to daylight saving time (DST), if applicable. It also makes use of {{Current minute offset in time zone}}.
This template can be used in conjunction with {{Current minute in time zone}} to get the current time in a particular time zone. See below for the currently supported time zones.
Usage
{{Current hour in time zone|time zone[|dst=no]}}
- (
[...]means optional, do not include the square brackets when using this template)
where
- time zone is the desired time zone abbreviation (see below and also the list of time zone abbreviations);
If no time zone is given or if the given time zone is not supported, then the output will default to the current hour of UTC+0 time;
In this case, instead of giving a time zone, an offset (e.g. −3, 1, 5, etc.) can also be given to get the current hour of UTC+offset time (which will not be adjusted according to DST); dstis an optional parameter to disable automatic daylight saving time adjustment by setting the value to "no";
If a DST variant of a particular time zone exists, then the time is automatically adjusted according to DST by default.
Supported time zones
From the list of time zone abbreviations, the following time zones are currently supported:
| Abbreviations | Name | DST currently active?{{Daylight saving active}} |
UTC offset h: {{Current hour offset in time zone}}; m: {{Current minute offset in time zone}} |
Time []{{Current hour in time zone}}:{{Current minute in time zone}} |
Notes for UTC offset and time | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| With DST rule | |dst=no) |
|dst=no) |
With DST rule | |dst=no) |
|dst=no) | |||||
| HST | Hawaii Standard Time | h: -10; m: 0 | h: -10; m: 0 | 03:26 | 03:26 | When dst 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 DST is not observed in Hawaii and in Saskatchewan (except Lloydminster, SK, where MST/MDT is observed). | ||||
| HAT or HAST | HADT | Hawaii-Aleutian Standard/ |
h: -9; m: 0 | h: -10; m: 0 | h: -9; m: 0 | 04:26 | 03:26 | 04:26 | ||
| AKT or AKST | AKDT | Alaska Standard/ |
h: -8; m: 0 | h: -9; m: 0 | h: -8; m: 0 | 05:26 | 04:26 | 05:26 | ||
| PT or PST | PDT | Pacific Standard/ |
h: -7; m: 0 | h: -8; m: 0 | h: -7; m: 0 | 06:26 | 05:26 | 06:26 | ||
| MT or MST | MDT | Mountain Standard/ |
h: -6; m: 0 | h: -7; m: 0 | h: -6; m: 0 | 07:26 | 06:26 | 07:26 | ||
| SKT or SKST | Saskatchewan Standard Time | h: -6; m: 0 | h: -6; m: 0 | 07:26 | 07:26 | |||||
| CT or CST | CDT | Central Standard/ |
h: -5; m: 0 | h: -6; m: 0 | h: -5; m: 0 | 08:26 | 07:26 | 08:26 | ||
| ET or EST | EDT | Eastern Standard/ |
h: -4; m: 0 | h: -5; m: 0 | h: -4; m: 0 | 09:26 | 08:26 | 09:26 | ||
| AT or AST | ADT | Atlantic Standard/ |
h: -3; m: 0 | h: -4; m: 0 | h: -3; m: 0 | 10:26 | 09:26 | 10:26 | ||
| NT or NST | NDT | Newfoundland Standard/ |
h: -2; m: -30 | h: -3; m: -30 | h: -2; m: -30 | 10:56 | 09:56 | 10:56 | ||
| GMT | BST | Greenwich Mean Time / British Summer Time | h: 1; m: 0 | h: 0; m: 0 | h: 1; m: 0 | 14:26 | 13:26 | 14:26 | When dst 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 | |
| WET | WEST | Western European (Summer) Time | h: 1; m: 0 | h: 0; m: 0 | h: 1; m: 0 | 14:26 | 13:26 | 14:26 | When dst 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 | |
| CET | CEST | Central European (Summer) Time | h: 2; m: 0 | h: 1; m: 0 | h: 2; m: 0 | 15:26 | 14:26 | 15:26 | ||
| EET | EEST | Eastern European (Summer) Time | h: 3; m: 0 | h: 2; m: 0 | h: 3; m: 0 | 16:26 | 15:26 | 16:26 | ||
| IST | Indian Standard Time | h: 5; m: 30 | h: 5; m: 30 | 18:56 | 18:56 | |||||
| AWT or AWST | Australian Western Standard Time | h: 8; m: 0 | h: 8; m: 0 | 21:26 | 21:26 | When dst 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 DST is not observed in the AWT time zone. | ||||
| ACT or ACST | ACDT | Australian Central Standard/ |
h: 9; m: 30 | h: 9; m: 30 | h: 10; m: 30 | 22:56 | 22:56 | 23:56 | ||
| AET or AEST | AEDT | Australian Eastern Standard/ |
h: 10; m: 0 | h: 10; m: 0 | h: 11; m: 0 | 23:26 | 23:26 | 00:26 | ||
| KST | Korea Standard Time | h: 9; m: 0 | h: 9; m: 0 | 22:26 | 22:26 | DST is not observed in these time zones. It is not necessary to set dst. | ||||
| JST | Japan Standard Time | h: 9; m: 0 | h: 9; m: 0 | 22:26 | 22:26 | |||||
| NZT or NZST | NZDT | New Zealand Standard/ |
h: 12; m: 0 | h: 12; m: 0 | h: 13; m: 0 | 01:26 | 01:26 | 02:26 | When dst 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 | |
| Integer input (e.g. -10) | h: -10; m: -10 | h: -10; m: -10 | 03:16 | 03:16 | Uses the specified hours and the specified minutes as the UTC offset.
e.g. here with UTC−10:10 and UTC+08:08 offsets. | |||||
| Integer input (e.g. 8) | h: 8; m: 8 | h: 8; m: 8 | 21:34 | 21:34 | ||||||
| Empty input | h: 0; m: 0 | h: 0; m: 0 | 13:26 | 13:26 | Follows UTC | |||||
| Unrecognised string (e.g. FOO) | h: 0; m: 0 | h: 0; m: 0 | 13:26 | 13:26 | ||||||
Time zone map

Examples
(You may want to this page to update the output.)
*{{Current hour in time zone|CET}}
produces
- 15
*{{Current hour in time zone|CET|dst=no}}
produces
- 14
*{{Current hour in time zone|CEST}}
produces
- 15
*{{Current hour in time zone|CEST|dst=no}}
produces
- 15
*{{Current hour in time zone|PT}}
produces
- 06
*{{Current hour in time zone|-4}}
produces
- 09
*{{Current hour in time zone}}
produces
- 13
*{{Current hour in time zone|ACT}}:{{Current minute in time zone|ACT}}
produces
- 22:56
Related templates
| Based on Module:Time | Based on {{Daylight saving active}} | |
|---|---|---|
| Supported time zones | See Template:Time#Supported time zones | See Template:Daylight saving active/doc/supported time zones |
| Offset related |
|
|
| Daylight saving related (0 when inactive, 1 when active) |
||
| Time related |
|