Template:Time zone/doc

From Wikipedia, the free encyclopedia

{{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 2024a 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}}

SST (UTC−11:00)

Bering Standard Time (BET) {{subst:Time zone|BET}}

BET (UTC−11:00)

UTC−10:00 Cook Islands Time (CKT) {{subst:Time zone|CKT}}

CKT (UTC−10:00)

Hawaii–Aleutian Standard Time (HAST) {{subst:Time zone|HAST}}

HAST (UTC−10:00)

Tahiti Time (TAHT) {{subst:Time zone|TAHT}}

TAHT (UTC−10:00)

UTC−09:30 Marquesas Islands Time (MIT) {{subst:Time zone|MIT}}

MIT (UTC−09:30)

UTC−09:00 Alaska Standard Time (AKST) {{subst:Time zone|AKST}}

AKST (UTC−09:00)

Gambier Island Time (GIT) {{subst:Time zone|GIT}}

GIT (UTC−09:00)

Hawaii–Aleutian Daylight Time (HADT) {{subst:Time zone|HADT}}

HADT (UTC−09:00)

UTC−08:00 Alaska Daylight Time (AKDT) {{subst:Time zone|AKDT}}

AKDT (UTC−08:00)

Clipperton Island Standard Time (CIST) {{subst:Time zone|CIST}}

CIST (UTC−08:00)

Pacific Standard Time (PST) {{subst:Time zone|PST}}

PST (UTC−08:00)

UTC−07:00 Mountain Standard Time (MST) {{subst:Time zone|MST}}

MST (UTC−07:00)

Pacific Daylight Time (PDT) {{subst:Time zone|PDT}}

PDT (UTC−07:00)

UTC−06:00 Central Standard Time (CST) {{subst:Time zone|CST}}

CST (UTC−06:00)

Galapagos Time (GALT) {{subst:Time zone|GALT}}

GALT (UTC−06:00)

Mountain Daylight Time (MDT) {{subst:Time zone|MDT}}

MDT (UTC−06:00)

UTC−05:00 Central Daylight Time (CDT) {{subst:Time zone|CDT}}

CDT (UTC−05:00)

Eastern Standard Time (EST) {{subst:Time zone|EST}}

EST (UTC−05:00)

Ecuador Time (ECT) {{subst:Time zone|ECT}}

ECT (UTC−05:00)

UTC−04:00 Atlantic Standard Time (AST) {{subst:Time zone|AST}} AST (UTC−04:00)
Eastern Caribbean Time (ECT) {{subst:Time zone|ECT NA}}

ECT (UTC−04:00)

Eastern Daylight Time (EDT) {{subst:Time zone|EDT}}

EDT (UTC−04:00)

UTC−03:30 Newfoundland Standard Time (NST) {{subst:Time zone|NST NA}}

NST (UTC−03:30)

UTC−03:00 Atlantic Daylight Time (ADT) {{subst:Time zone|ADT}}

ADT (UTC−03:00)

UTC−02:30 Newfoundland Daylight Time (NDT) {{subst:Time zone|NDT}}

NDT (UTC−02:30)

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}}

CVT (UTC−01:00)

UTC±00:00 Greenwich Mean Time (GMT) {{subst:Time zone|GMT}}

GMT (UTC±00:00)

Western European Time (WET) {{subst:Time zone|WET}}

WET (UTC±00:00)

UTC+01:00 British Summer Time (BST) {{subst:Time zone|BST}}

BST (UTC+01:00)

Central European Time (CET) {{subst:Time zone|CET}}

CET (UTC+01:00)

Greenwich Daylight Saving Time (GDT) {{subst:Time zone|GDT}}

GDT (UTC+01:00)

Irish Summer Time (IST) {{subst:Time zone|IST EU}}

IST (UTC+01:00)

Middle European Time (MET) {{subst:Time zone|MET}}

MET (UTC+01:00)

West Africa Time (WAT) {{subst:Time zone|WAT}}

WAT (UTC+01:00)

Western European Summer Time (WEST) {{subst:Time zone|WEST}}

WEST (UTC+01:00)

Western European Daylight Time (WEDT) {{subst:Time zone|WEDT}}

WEDT (UTC+01:00)

UTC+02:00 Central European Summer Time (CEST) {{subst:Time zone|CEST}}

CEST (UTC+02:00)

Central European Daylight Time (CEDT) {{subst:Time zone|CEDT}

CEDT (UTC+02:00)

Eastern European Time (EET) {{subst:Time zone|EET}}

EET (UTC+02:00)

Israel Standard Time (IST) {{subst:Time zone|IST AS}}

IST (UTC+02:00)

South African Standard Time (SAST) {{subst:Time zone|SAST}}

SAST (UTC+02:00)

UTC+03:00 Arabia Standard Time (AST) {{subst:Time zone|AST AS}}

AST (UTC+03:00)

East Africa Time (EAT) {{subst:Time zone|EAT}}

EAT (UTC+03:00)

Eastern European Summer Time (EEST) {{subst:Time zone|EEST}}

EEST (UTC+03:00)

Eastern European Daylight Time (EEDT) {{subst:Time zone|EEDT}}

EEDT (UTC+03:00)

Israel Daylight Time (IDT) {{subst:Time zone|IDT}}

IDT (UTC+03:00)

Moscow Standard Time (MSK) {{subst:Time zone|MSK}}

MSK (UTC+03:00)

UTC+04:00 Azerbaijan Time (AZT) {{subst:Time zone|AZT}}

AZT (UTC+04:00)

Gulf Standard Time (GST) {{subst:Time zone|GST}}

GST (UTC+04:00)

Moscow Summer Time (MSD) {{subst:Time zone|MSD}}

MSD (UTC+04:00)

Samara Time (SAMT) {{subst:Time zone|SAMT}}

SAMT (UTC+04:00)

UTC+05:00 Azerbaijan Summer Time (AZST) {{subst:Time zone|AZST}}

AZST (UTC+05:00)

Pakistan Time (PKT) {{subst:Time zone|PKT}}

PKT (UTC+05:00)

Samara Summer Time (SAMST) {{subst:Time zone|SAMST}}

SAMST (UTC+05:00)

Yekaterinburg Time (YEKT) {{subst:Time zone|YEKT}}

YEKT (UTC+05:00)

UTC+05:30 Indian Standard Time (IST) {{subst:Time zone|IST}}

IST (UTC+05:30)

UTC+05:45 Nepal Time (NPT) {{subst:Time zone|NPT}}

NPT (UTC+05:45)

UTC+06:00 Bangladesh Standard Time (BST) {{subst:Time zone|BST AS}}

BST (UTC+06:00)

Bhutan Time (BTT) {{subst:Time zone|BTT}}

BTT (UTC+06:00)

Kyrgyzstan Time (KGT) {{subst:Time zone|KGT}}

KGT (UTC+06:00)

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}}

OMST (UTC+06:00)

Yekaterinburg Summer Time (YEKST) {{subst:Time zone|YEKST}}

YEKST (UTC+06:00)

UTC+06:30 Myanmar Standard Time (MMT) {{subst:Time zone|MMT}}

MMT UTC+06:30

North Sumatra Time (NST) {{subst:Time zone|NST}}

NST (UTC+06:30)

UTC+07:00 Christmas Island Time (CXT) {{subst:Time zone|CXT}}

CXT (UTC+07:00)

Indochina Time (ICT) {{subst:Time zone|ICT}}

ICT (UTC+07:00)

Krasnoyarsk Time (KRAT) {{subst:Time zone|KRAT}}

KRAT (UTC+07:00)

Omsk Summer Time (OMSST) {{subst:Time zone|OMSST}}

OMSST (UTC+07:00)

South Sumatran Time (SST) {{subst:Time zone|SST}}

SST (UTC+07:00)

Thailand Standard Time (THA) {{subst:Time zone|THA}}

THA (UTC+07:00)

UTC+08:00 Australian Western Standard Time (AWST) {{subst:Time zone|AWST}}

AWST (UTC+08:00)

Borneo Time (BORT) {{subst:Time zone|BORT}}

BORT (UTC+08:00)

Brunei Darussalam Time (BNT) {{subst:Time zone|BNT}}

BNT (UTC+08:00)

China Standard Time (CST) {{subst:Time zone|CST AS}}

CST (UTC+08:00)

Hong Kong Time (HKT) {{subst:Time zone|HKT}}

HKT (UTC+08:00)

Irkutsk Time (IRKT) {{subst:Time zone|IRKT}}

IRKT (UTC+08:00)

Krasnoyarsk Summer Time (KRAST) {{subst:Time zone|KRAST}}

KRAST (UTC+08:00)

Malaysian Standard Time (MST) {{subst:Time zone|MST AS}}

MST UTC+08:00

Philippine Standard Time (PHT) {{subst:Time zone|PHT}}

PHT (UTC+08:00)

Singapore Standard Time (SST) {{subst:Time zone|SST AS}}

SST (UTC+08:00)

Ulan Bator Time (ULAT) {{subst:Time zone|ULAT}}

ULAT (UTC+08:00)

Western Standard Time (WST) {{subst:Time zone|WST}}

WST (UTC+08:00)

UTC+09:00 Irkutsk Summer Time (IRKST) {{subst:Time zone|IRKST}}

IRKT (UTC+09:00)

Japan Standard Time (JST) {{subst:Time zone|JST}}

JST (UTC+09:00)

Jayapura Time (JAYT) {{subst:Time zone|JAYT}}

JAYT (UTC+09:00)

Korean Standard Time(KST) {{subst:Time zone|KST}}

KST (UTC+09:00)

Palau Time (PWT) {{subst:Time zone|PWT}}

PWT (UTC+09:00)

Yakutsk Time (YAKT) {{subst:Time zone|YAKT}}

YAKT (UTC+09:00)

UTC+09:30 Australian Central Standard Time (ACST) {{subst:Time zone|ACST}}

ACST (UTC+09:30)

UTC+10:00 Australian Eastern Standard Time (AEST) {{subst:Time zone|AEST}}

AEST (UTC+10:00)

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}}

PGT (UTC+10:00)

Truk Time (TRUT) {{subst:Time zone|TRUT}}

TRUT (UTC+10:00)

Vladivostok Time (VLAT) {{subst:Time zone|VLAT}}

VLAT (UTC+10:00)

Yakutsk Summer Time (YAKST) {{subst:Time zone|YAKST}}

YAKST (UTC+10:00)

Yap Time (YAPT) {{subst:Time zone|YAPT}}

YAPT (UTC+10:00)

UTC+10:30 Australian Central Daylight Time (ACDT) {{subst:Time zone|ACDT}}

ACDT (UTC+10:30)

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}}

AEDT (UTC+11:00)

Magadan Time (MAGT) {{subst:Time zone|MAGT}}

MAGT (UTC+11:00)

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}}

VLAST (UTC+11:00)

UTC+11:30 Norfolk (Island) Time (NFT) {{subst:Time zone|NFT}}

NFT (UTC+11:30)

UTC+12:00 Fiji Time (FJT) {{subst:Time zone|FJT}}

FJT (UTC+12:00)

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}}

MAGST (UTC+12:00)

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}}

NZST (UTC+12:00)

Petropavlovsk-Kamtchatski Time (PETT) {{subst:Time zone|PETT}}

PETT (UTC+12:00)

Tuvalu Time (TVT) {{subst:Time zone|TVT}}

TVT (UTC+12:00)

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}}

CHAST (UTC+12:45)

UTC+13:00 Petropavlovsk-Kamtchatski Summer Time (PETST) {{subst:Time zone|PETST}}

PETST (UTC+13:00)

Phoenix (Islands) Time (PHOT) {{subst:Time zone|PHOT}}

PHOT (UTC+13:00)

Tonga Time (TOT) {{subst:Time zone|TOT}}

TOT (UTC+13:00)

UTC+14:00 Line (Islands) Time (LINT) {{subst:Time zone|LINT}}

LINT (UTC+14:00)

See also[edit]

References[edit]