Template:Time zone/doc

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
timezone Replace  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:

timezone continent

Replace  with any standard time zone code. Replace  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 : IST EU gives IST (UTC+01:00)
 * Indian Standard Time : 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
Sub templates store data from the tz database and some related information. These examples are accurate as of version of the database.

UTC

 * Template:Infobox time zone
 * Template:Infobox time zone/utc-dtg

Examples
The list may not be exhaustive.