Template:Time zone
{{{1}}}
This template should always be substituted (i.e., use {{subst:Time zone}} ). |
{{Time zone}} can be used to quickly and consistently link to an article on a timezone, while automatically displaying the deviation from UTC.
It also contains sub-templates that contain the data for columns in the tz database.
Usage
[edit]{{subst:Time zone|timezone}}
Replace timezone
with any standard time zone code.
If the time zone is omitted, the template defaults to displaying UTC.
Exceptions: Sometimes, two different time zones have the same abbreviation. As we cannot change them, a little trick must be used for lesser-used ones. Instead of using the template above, you must use the following template:
{{subst:Time zone|timezone continent}}
Replace timezone
with any standard time zone code.
Replace continent
with any of the following:
- Africa: AF
- Antarctica: AN
- Asia: AS
- Australia: AU
- Europe: EU
- North America: NA
- South America: SA
Examples:
- Irish Summer Time: {{subst:Time zone|IST EU}} gives IST (UTC+01:00)
- Indian Standard Time: {{subst:Time zone|IST}} gives IST (UTC+05:30)
Ireland being less inhabited than India, Indian Standard Time will be used more often than Irish Summer Time, and is therefore the default if no continent is specified.
See more examples below.
tz database
[edit]Sub templates store data from the tz database and some related information. These examples are accurate as of version 2024b of the database.
Template | Description | Example | Produces |
---|---|---|---|
{{Time zone/version}} | Produces the version number of the tz database. Update this template when updating those below with data from a new release. Add a parameter (value doesn't matter) to include a link to the IANA FTP site. | {{Time zone/version|IncludeLink}}
|
[ftp://ftp.iana.org/tz/releases/tzdata2016e.tar.gz 2016e]
|
{{Time zone/country code}} | Maps TZ to country code from zone.tab | {{Time zone/country code|Asia/Urumqi}}
|
CN |
{{Time zone/iso 3166-1 link}} | Maps TZ to linked country code from zone.tab | {{Time zone/iso 3166-1 link|Asia/Urumqi}}
|
[[ISO 3166-1:CN|CN]]
|
{{Time zone/coordinates}} | Maps TZ to coordinates in original format from zone.tab | {{Time zone/coordinates|Asia/Urumqi}}
|
+4348+08735 |
{{Time zone/coord}} | Maps TZ to different coordinate format | {{Time zone/coord|Asia/Urumqi}}
|
43/48/N/087/35/E |
{{Time zone/comments}} | Maps TZ to comments from zone.tab | {{Time zone/comments|Asia/Urumqi}}
|
Covering historic [[Sinkiang-Tibet]] time zone |
{{Time zone/rulefile}} | Maps TZ to linked continent file that defines the zone (or link) and DST rules. | ||
{{Time zone/utc offset}} | Maps TZ to normal (non-DST) UTC offset | {{Time zone/utc offset|Europe/Amsterdam}}
|
+01:00 |
{{Time zone/utc offset link}} | Maps TZ to linked normal (non-DST) UTC offset | {{Time zone/utc offset link|Europe/Amsterdam}}
|
[[UTC+01:00|+01:00]]
|
{{Time zone/utc zone}} | Maps TZ to normal (non-DST) UTC offset with prefix | {{Time zone/utc zone|Europe/Amsterdam}}
|
UTC+01:00 |
{{Time zone/utc zone link}} | Maps TZ to linked normal (non-DST) UTC offset with prefix | {{Time zone/utc zone link|Europe/Amsterdam}}
|
[[UTC+01:00]]
|
{{Time zone/utc dst offset}} | Maps TZ to DST UTC offset | {{Time zone/utc dst offset|Europe/Amsterdam}}
|
+02:00 |
{{Time zone/utc dst offset link}} | Maps TZ to linked DST UTC offset | {{Time zone/utc dst offset link|Europe/Amsterdam}}
|
[[UTC+02:00|+02:00]]
|
{{Time zone/zone.tab cols wikitable}} | Maps TZ to 4 elements as a wikitable row – country code, coordinates, zone name, and comments | {{Time zone/zone.tab cols wikitable|Antarctica/South_Pole}}
|
| [[ISO 3166-1:AQ|AQ]] | -9000+00000 | [[Antarctica/South_Pole]] | Amundsen-Scott Station, South Pole |
{{Time zone/zone.tab cols linked}} | Similar to {{Time zone/zone.tab cols wikitable}}, but adds two more lines to the output, containing the linked normal (non-DST) and DST UTC offsets | {{Time zone/zone.tab cols linked|Antarctica/South_Pole}}
|
| [[ISO 3166-1:AQ|AQ]] | -9000+00000 | [[Antarctica/South_Pole]] | Amundsen-Scott Station, South Pole | [[UTC+12:00|+12:00]] | [[UTC+13:00|+13:00]] |
{{Time zone/zone.tab cols unlinked}} | Same as {{Time zone/zone.tab cols unlinked}}, but with no links | {{Time zone/zone.tab cols unlinked|Antarctica/South_Pole}}
|
| AQ | -9000+00000 | Antarctica/South_Pole | Amundsen-Scott Station, South Pole | +12:00 | +13:00 |
{{Time zone/zone.tab cols wiki6}} | A possibly slower version of {{Time zone/zone.tab cols linked}}. Note: neither {{Time zone/zone.tab cols wiki6}} nor {{Time zone/zone.tab cols linked}} can currently be used for the full table in List of tz database time zones because of performance limitations in processing such a long table. They can, however, be used for a small number of rows in individual area articles. | ||
{{Infobox time zone}} | Displays an infobox on the right side of pages for the tz zones, if the page name matches a zone name. For an example see Asia/Omsk. | ||
{{Time zone/zoneinfo}} | Displays the lead and a table containing the tz database data. For example, see Asia/Thimphu. |
UTC
[edit]Examples
[edit]The list may not be exhaustive.
Time zone | Name | Code | Result |
---|---|---|---|
UTC−12:00 | Baker Island Time (BIT) | {{subst:Time zone|BIT}} | BIT (UTC−12:00) |
Internation Date Line West (IDLW) | {{subst:Time zone|IDLW}} | IDLW (UTC−12:00) | |
UTC−11:00 | Samoa Standard Time (SST) | {{subst:Time zone|SST SA}} | |
Bering Standard Time (BET) | {{subst:Time zone|BET}} | ||
UTC−10:00 | Cook Islands Time (CKT) | {{subst:Time zone|CKT}} |
CKT (UTC−10:00) |
Hawaii–Aleutian Standard Time (HAST) | {{subst:Time zone|HAST}} | ||
Tahiti Time (TAHT) | {{subst:Time zone|TAHT}} | ||
UTC−09:30 | Marquesas Islands Time (MIT) | {{subst:Time zone|MIT}} | |
UTC−09:00 | Alaska Standard Time (AKST) | {{subst:Time zone|AKST}} | |
Gambier Island Time (GIT) | {{subst:Time zone|GIT}} | ||
Hawaii–Aleutian Daylight Time (HADT) | {{subst:Time zone|HADT}} | ||
UTC−08:00 | Alaska Daylight Time (AKDT) | {{subst:Time zone|AKDT}} | |
Clipperton Island Standard Time (CIST) | {{subst:Time zone|CIST}} | ||
Pacific Standard Time (PST) | {{subst:Time zone|PST}} | ||
UTC−07:00 | Mountain Standard Time (MST) | {{subst:Time zone|MST}} | |
Pacific Daylight Time (PDT) | {{subst:Time zone|PDT}} | ||
UTC−06:00 | Central Standard Time (CST) | {{subst:Time zone|CST}} | |
Galapagos Time (GALT) | {{subst:Time zone|GALT}} | ||
Mountain Daylight Time (MDT) | {{subst:Time zone|MDT}} | ||
UTC−05:00 | Central Daylight Time (CDT) | {{subst:Time zone|CDT}} | |
Eastern Standard Time (EST) | {{subst:Time zone|EST}} | ||
Ecuador Time (ECT) | {{subst:Time zone|ECT}} | ||
UTC−04:00 | Atlantic Standard Time (AST) | {{subst:Time zone|AST}} | AST (UTC−04:00) |
Eastern Caribbean Time (ECT) | {{subst:Time zone|ECT NA}} | ||
Eastern Daylight Time (EDT) | {{subst:Time zone|EDT}} | ||
UTC−03:30 | Newfoundland Standard Time (NST) | {{subst:Time zone|NST NA}} | |
UTC−03:00 | Atlantic Daylight Time (ADT) | {{subst:Time zone|ADT}} | |
UTC−02:30 | Newfoundland Daylight Time (NDT) | {{subst:Time zone|NDT}} | |
UTC−02:00 | Greenland Eastern Standard Time (VTZ) | {{subst:Time zone|VTZ}} |
VTZ (UTC−02:00) |
Fernando de Noronha Standard Time (FDT) | {{subst:Time zone|FDT}} |
FDT (UTC−02:00) | |
UTC−01:00 | Azores Time (AT) | {{subst:Time zone|AT}} |
AT (UTC−01:00) |
Cape Verde Time (CVT) | {{subst:Time zone|CVT}} | ||
UTC+00:00 | Greenwich Mean Time (GMT) | {{subst:Time zone|GMT}} | |
Western European Time (WET) | {{subst:Time zone|WET}} | ||
UTC+01:00 | British Summer Time (BST) | {{subst:Time zone|BST}} | |
Central European Time (CET) | {{subst:Time zone|CET}} | ||
Greenwich Daylight Saving Time (GDT) | {{subst:Time zone|GDT}} | ||
Irish Summer Time (IST) | {{subst:Time zone|IST EU}} | ||
Middle European Time (MET) | {{subst:Time zone|MET}} | ||
West Africa Time (WAT) | {{subst:Time zone|WAT}} | ||
Western European Summer Time (WEST) | {{subst:Time zone|WEST}} | ||
Western European Daylight Time (WEDT) | {{subst:Time zone|WEDT}} | ||
UTC+02:00 | Central European Summer Time (CEST) | {{subst:Time zone|CEST}} | |
Central European Daylight Time (CEDT) | {{subst:Time zone|CEDT} | ||
Eastern European Time (EET) | {{subst:Time zone|EET}} | ||
Israel Standard Time (IST) | {{subst:Time zone|IST AS}} | ||
South African Standard Time (SAST) | {{subst:Time zone|SAST}} | ||
UTC+03:00 | Arabia Standard Time (AST) | {{subst:Time zone|AST AS}} | |
East Africa Time (EAT) | {{subst:Time zone|EAT}} | ||
Eastern European Summer Time (EEST) | {{subst:Time zone|EEST}} | ||
Eastern European Daylight Time (EEDT) | {{subst:Time zone|EEDT}} | ||
Israel Daylight Time (IDT) | {{subst:Time zone|IDT}} | ||
Moscow Standard Time (MSK) | {{subst:Time zone|MSK}} | ||
UTC+04:00 | Azerbaijan Time (AZT) | {{subst:Time zone|AZT}} | |
Gulf Standard Time (GST) | {{subst:Time zone|GST}} | ||
Moscow Summer Time (MSD) | {{subst:Time zone|MSD}} | ||
Samara Time (SAMT) | {{subst:Time zone|SAMT}} | ||
UTC+05:00 | Azerbaijan Summer Time (AZST) | {{subst:Time zone|AZST}} | |
Pakistan Time (PKT) | {{subst:Time zone|PKT}} |
PKT (UTC+05:00) | |
Samara Summer Time (SAMST) | {{subst:Time zone|SAMST}} | ||
Yekaterinburg Time (YEKT) | {{subst:Time zone|YEKT}} | ||
UTC+05:30 | Indian Standard Time (IST) | {{subst:Time zone|IST}} | |
UTC+05:45 | Nepal Time (NPT) | {{subst:Time zone|NPT}} | |
UTC+06:00 | Bangladesh Standard Time (BST) | {{subst:Time zone|BST AS}} | |
Bhutan Time (BTT) | {{subst:Time zone|BTT}} | ||
Kyrgyzstan Time (KGT) | {{subst:Time zone|KGT}} | ||
Lanka Time (LKT) | {{subst:Time zone|LKT}} |
LKT (UTC+06:00) | |
Mawson Time (MAWT) | {{subst:Time zone|MAWT}} |
MAWT (UTC+06:00) | |
Omsk Time (OMST) | {{subst:Time zone|OMST}} | ||
Yekaterinburg Summer Time (YEKST) | {{subst:Time zone|YEKST}} | ||
UTC+06:30 | Myanmar Standard Time (MMT) | {{subst:Time zone|MMT}} | |
North Sumatra Time (NST) | {{subst:Time zone|NST}} |
NST (UTC+06:30) | |
UTC+07:00 | Christmas Island Time (CXT) | {{subst:Time zone|CXT}} | |
Indochina Time (ICT) | {{subst:Time zone|ICT}} | ||
Krasnoyarsk Time (KRAT) | {{subst:Time zone|KRAT}} | ||
Omsk Summer Time (OMSST) | {{subst:Time zone|OMSST}} | ||
South Sumatran Time (SST) | {{subst:Time zone|SST}} |
SST (UTC+07:00) | |
Thailand Standard Time (THA) | {{subst:Time zone|THA}} | ||
UTC+08:00 | Australian Western Standard Time (AWST) | {{subst:Time zone|AWST}} | |
Borneo Time (BORT) | {{subst:Time zone|BORT}} |
BORT (UTC+08:00) | |
Brunei Darussalam Time (BNT) | {{subst:Time zone|BNT}} | ||
China Standard Time (CST) | {{subst:Time zone|CST AS}} | ||
Hong Kong Time (HKT) | {{subst:Time zone|HKT}} | ||
Irkutsk Time (IRKT) | {{subst:Time zone|IRKT}} | ||
Krasnoyarsk Summer Time (KRAST) | {{subst:Time zone|KRAST}} | ||
Malaysian Standard Time (MST) | {{subst:Time zone|MST AS}} | ||
Philippine Standard Time (PHT) | {{subst:Time zone|PHT}} | ||
Singapore Standard Time (SST) | {{subst:Time zone|SST AS}} | ||
Ulan Bator Time (ULAT) | {{subst:Time zone|ULAT}} |
ULAT (UTC+08:00) | |
Western Standard Time (WST) | {{subst:Time zone|WST}} | ||
UTC+09:00 | Irkutsk Summer Time (IRKST) | {{subst:Time zone|IRKST}} | |
Japan Standard Time (JST) | {{subst:Time zone|JST}} | ||
Jayapura Time (JAYT) | {{subst:Time zone|JAYT}} |
JAYT (UTC+09:00) | |
Korean Standard Time(KST) | {{subst:Time zone|KST}} | ||
Palau Time (PWT) | {{subst:Time zone|PWT}} |
PWT (UTC+09:00) | |
Yakutsk Time (YAKT) | {{subst:Time zone|YAKT}} | ||
UTC+09:30 | Australian Central Standard Time (ACST) | {{subst:Time zone|ACST}} | |
UTC+10:00 | Australian Eastern Standard Time (AEST) | {{subst:Time zone|AEST}} | |
Dumont-d`Urville Time (DDUT) | {{subst:Time zone|DDUT}} |
DDUT (UTC+10:00) | |
Guam Standard Time (GST) | {{subst:Time zone|GST AS}} |
GST (UTC+10:00) | |
North Mariana (Islands) Time (MPT) | {{subst:Time zone|MPT}} |
MPT (UTC+10:00) | |
Papua New Guinea Time (PGT) | {{subst:Time zone|PGT}} | ||
Truk Time (TRUT) | {{subst:Time zone|TRUT}} |
TRUT (UTC+10:00) | |
Vladivostok Time (VLAT) | {{subst:Time zone|VLAT}} | ||
Yakutsk Summer Time (YAKST) | {{subst:Time zone|YAKST}} | ||
Yap Time (YAPT) | {{subst:Time zone|YAPT}} |
YAPT (UTC+10:00) | |
UTC+10:30 | Australian Central Daylight Time (ACDT) | {{subst:Time zone|ACDT}} | |
Lord Howe Standard Time (LHST) | {{subst:Time zone|LHST}} |
LHST (UTC+10:30) | |
UTC+11:00 | Australian Eastern Daylight Time (AEDT) | {{subst:Time zone|AEDT}} | |
Magadan Time (MAGT) | {{subst:Time zone|MAGT}} | ||
New Caledonia Time (NCT) | {{subst:Time zone|NCT}} |
NCT (UTC+11:00) | |
Ponape Time (PONT) | {{subst:Time zone|PONT}} |
PONT (UTC+11:00) | |
Solomon (Islands) Time (SBT) | {{subst:Time zone|SBT}} |
SBT (UTC+11:00) | |
Vanuata Time (VUT) | {{subst:Time zone|VUT}} |
VUT (UTC+11:00) | |
Vladivostok Summer Time (VLAST) | {{subst:Time zone|VLAST}} | ||
UTC+11:30 | Norfolk (Island) Time (NFT) | {{subst:Time zone|NFT}} | |
UTC+12:00 | Fiji Time (FJT) | {{subst:Time zone|FJT}} | |
Gilbert (Islands) Time (GILT) | {{subst:Time zone|GILT}} |
GILT (UTC+12:00) | |
Internation Date Line East (IDLE) | {{subst:Time zone|IDLE}} |
IDLE (UTC+12:00) | |
Kosrae Time (KOST) | {{subst:Time zone|KOST}} |
KOST (UTC+12:00) | |
Magadan Summer Time (MAGST) | {{subst:Time zone|MAGST}} | ||
Marshall (Islands) Time (MHT) | {{subst:Time zone|MHT}} |
MHT (UTC+12:00) | |
Nauru Time (NRT) | {{subst:Time zone|NRT}} |
NRT (UTC+12:00) | |
New Zealand Standard Time (NZST) | {{subst:Time zone|NZST}} | ||
Petropavlovsk-Kamtchatski Time (PETT) | {{subst:Time zone|PETT}} | ||
Tuvalu Time (TVT) | {{subst:Time zone|TVT}} | ||
Wallis and Futuna Time (WFT) | {{subst:Time zone|WFT}} |
WFT (UTC+12:00) | |
Wake Time (WAKT) | {{subst:Time zone|WAKT}} |
WAKT (UTC+12:00) | |
UTC+12:45 | Chatham Standard Time (CHAST) | {{subst:Time zone|CHAST}} | |
UTC+13:00 | Petropavlovsk-Kamtchatski Summer Time (PETST) | {{subst:Time zone|PETST}} | |
Phoenix (Islands) Time (PHOT) | {{subst:Time zone|PHOT}} |
PHOT (UTC+13:00) | |
Tonga Time (TOT) | {{subst:Time zone|TOT}} | ||
UTC+14:00 | Line (Islands) Time (LINT) | {{subst:Time zone|LINT}} |
LINT (UTC+14:00) |