<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=Template%3AUTC_offset%2Fdoc</id>
	<title>Template:UTC offset/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=Template%3AUTC_offset%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Template:UTC_offset/doc&amp;action=history"/>
	<updated>2026-05-01T02:05:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>http://70.231.62.181/index.php?title=Template:UTC_offset/doc&amp;diff=22422070&amp;oldid=prev</id>
		<title>imported&gt;DB1729: Category:Time zones templates</title>
		<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Template:UTC_offset/doc&amp;diff=22422070&amp;oldid=prev"/>
		<updated>2025-06-17T22:13:14Z</updated>

		<summary type="html">&lt;p&gt;Category:Time zones templates&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
This template returns a UTC offset string suitable for use with the &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline=&amp;quot;1&amp;quot;&amp;gt;{{#time:}}&amp;lt;/syntaxhighlight&amp;gt; parser function:&lt;br /&gt;
: &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline=&amp;quot;1&amp;quot;&amp;gt;{{UTC offset|MST}}&amp;lt;/syntaxhighlight&amp;gt; → {{UTC offset|MST}}&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
This template takes two parameters:&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;amp;lt;{{var|timezone code}}&amp;gt;&amp;lt;/code&amp;gt; – (required) the first positional parameter specifies the timezone for which the offset is desired&lt;br /&gt;
*{{para|dst}} – (optional) when set to &amp;lt;code&amp;gt;no&amp;lt;/code&amp;gt;, suppresses daylight saving time adjustment&lt;br /&gt;
&lt;br /&gt;
Valid &amp;lt;code&amp;gt;&amp;amp;lt;{{var|timezone code}}&amp;gt;&amp;lt;/code&amp;gt; values are the same as those supported by {{tlx|time}}.&lt;br /&gt;
&lt;br /&gt;
Typical use of this template is with the &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline=&amp;quot;1&amp;quot;&amp;gt;{{#time:}}&amp;lt;/syntaxhighlight&amp;gt; parser function:&lt;br /&gt;
: &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline=&amp;quot;1&amp;quot;&amp;gt;{{#time:H:i}}&amp;lt;/syntaxhighlight&amp;gt; → {{#time:H:i}} – UTC time&lt;br /&gt;
: &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline=&amp;quot;1&amp;quot;&amp;gt;{{UTC offset|MST}}&amp;lt;/syntaxhighlight&amp;gt; → {{UTC offset|MST}} – MST or MDT offset from UTC&lt;br /&gt;
: &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline=&amp;quot;1&amp;quot;&amp;gt;{{#time:H:i | {{UTC offset|MST}} }}&amp;lt;/syntaxhighlight&amp;gt; → {{#time:H:i | {{UTC offset|MST}} }} – MST or MDT time&lt;br /&gt;
&lt;br /&gt;
Use {{para|dst|no}} to get the UTC offset for areas that do not support daylight saving time but are located within timezones that do: [[Arizona]] (does not) is located within the [[Mountain Time Zone]] (does).&lt;br /&gt;
&lt;br /&gt;
===Supported time zones===&lt;br /&gt;
{{#lst:Template:Time/doc|supported_time_zones}}&lt;br /&gt;
&lt;br /&gt;
===Error messages===&lt;br /&gt;
This template can emit three error messages:&lt;br /&gt;
*{{color|#d33|unknown timezone &amp;amp;lt;{{var|unknown timezone}}&amp;gt;}} – this message emitted when &amp;amp;lt;{{var|unknown timezone}}&amp;gt; is not a timezone known to [[Module:Time]].  To resolve this error, use a known timezone specifier.&lt;br /&gt;
*{{color|#d33|missing required timezone}} – this template requires a timezone specifier.  To resolve this error, provide a known timezone specifier.&lt;br /&gt;
*{{color|#d33|error calculating dst timestamps}} – this template automatically applies daylight saving adjustment for those timezones that support it.  This error message indicates that the underlying data in [[Module:Time/data]] for the timezone is malformed.  To resolve this error, the underlying data must be corrected.  This may be accomplished by anyone with administrator or template editor permission.  Post a message at [[Template talk:Time]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line --&amp;gt;&lt;br /&gt;
[[Category:Time zones templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;DB1729</name></author>
	</entry>
</feed>