<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mindpowe.red/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ACurrentTimeIn</id>
	<title>Template:CurrentTimeIn - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mindpowe.red/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ACurrentTimeIn"/>
	<link rel="alternate" type="text/html" href="https://mindpowe.red/wiki/index.php?title=Template:CurrentTimeIn&amp;action=history"/>
	<updated>2026-04-06T18:16:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://mindpowe.red/wiki/index.php?title=Template:CurrentTimeIn&amp;diff=16139&amp;oldid=prev</id>
		<title>imported&gt;Zyxw: Since &lt;tt&gt; is obsolete in HTML5, replace it with &lt;kbd&gt; – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB</title>
		<link rel="alternate" type="text/html" href="https://mindpowe.red/wiki/index.php?title=Template:CurrentTimeIn&amp;diff=16139&amp;oldid=prev"/>
		<updated>2018-08-05T06:55:29Z</updated>

		<summary type="html">&lt;p&gt;Since &amp;lt;tt&amp;gt; is obsolete in &lt;a href=&quot;/wiki/index.php?title=HTML5&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;HTML5 (page does not exist)&quot;&gt;HTML5&lt;/a&gt;, replace it with &amp;lt;kbd&amp;gt; – see &lt;a href=&quot;/wiki/index.php?title=HTML_element&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;HTML element (page does not exist)&quot;&gt;HTML element#tt&lt;/a&gt;, &lt;a href=&quot;https://en.wikipedia.org/wiki/HTML5&quot; class=&quot;extiw&quot; title=&quot;wikipedia:HTML5&quot;&gt;Wikipedia:HTML5&lt;/a&gt;, and &lt;a href=&quot;https://www.mediawiki.org/wiki/Help:Extension:Linter/obsolete-tag&quot; class=&quot;extiw&quot; title=&quot;mw:Help:Extension:Linter/obsolete-tag&quot;&gt;mw:Help:Extension:Linter/obsolete-tag&lt;/a&gt;. using &lt;a href=&quot;/wiki/index.php?title=Mindpowered_Wiki:AWB&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Mindpowered Wiki:AWB (page does not exist)&quot;&gt;AWB&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;[[Lists of time zones|{{utc|{{#expr:({{{UsualDifferenceFromUTCForThisLocation|0}}})+({{{DSTAdjustment|0}}})}}}}]]&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
This template prints the current UTC time offset by (UsualDifferenceFromUTCForThisLocation + DSTAdjustment) hours.&lt;br /&gt;
&lt;br /&gt;
; Syntax&amp;lt;nowiki&amp;gt;:&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
: &amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{PAGENAME}} ''&amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;'' &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt;&lt;br /&gt;
:: &amp;lt;kbd&amp;gt;''&amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;'' UsualDifferenceFromUTCForThisLocation=''hours''&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; ''&amp;lt;nowiki&amp;gt;]&amp;lt;/nowiki&amp;gt;''&amp;lt;/kbd&amp;gt;&lt;br /&gt;
:: &amp;lt;kbd&amp;gt;''&amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;'' DSTAdjustment=''hours''&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; ''&amp;lt;nowiki&amp;gt;]&amp;lt;/nowiki&amp;gt;''&amp;lt;/kbd&amp;gt;&lt;br /&gt;
: &amp;lt;kbd&amp;gt;''&amp;lt;nowiki&amp;gt;]&amp;lt;/nowiki&amp;gt;'' &amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt;&lt;br /&gt;
Missing parameters (or completely empty parameters, without even any blank in the ''hours'' value) are treated like zero.&lt;br /&gt;
&lt;br /&gt;
; Rationale&amp;lt;nowiki&amp;gt;:&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
The reason we separate out the &amp;quot;usual&amp;quot; difference from UTC and the DST adjustment is that the first part remains constant forever.&lt;br /&gt;
&lt;br /&gt;
Whereas the second part changes twice a year.&lt;br /&gt;
&lt;br /&gt;
This arrangement is the best way to minimize the number of pages we have to change when the clock changes.&lt;br /&gt;
&lt;br /&gt;
; Examples&amp;lt;nowiki&amp;gt;:&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;The current time in London is {{CurrentTimeIn|&lt;br /&gt;
  UsualDifferenceFromUTCForThisLocation=0|&lt;br /&gt;
  DSTAdjustment={{Current daylight saving offset in Europe}}}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;The current time in Paris is {{CurrentTimeIn|&lt;br /&gt;
  UsualDifferenceFromUTCForThisLocation=1|&lt;br /&gt;
  DSTAdjustment={{Current daylight saving offset in Europe}}}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
and when the clocks change in Europe, the only page we have to change is {{tl|Current daylight saving offset in Europe}} which is minimal number of pages.&lt;br /&gt;
&lt;br /&gt;
This template is usually wrapped by another template which controls the positioning of the time on the page. One example is {{tl|CurrentTimeInHeader}} which puts the time near the top of the page.&lt;br /&gt;
&lt;br /&gt;
; See also&amp;lt;nowiki&amp;gt;:&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* [[Template:Utc]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Date mathematics templates|{{PAGENAME}}]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Zyxw</name></author>
		
	</entry>
</feed>