<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.minetest.org/index.php?action=history&amp;feed=atom&amp;title=Time_of_day</id>
	<title>Time of day - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.minetest.org/index.php?action=history&amp;feed=atom&amp;title=Time_of_day"/>
	<link rel="alternate" type="text/html" href="https://wiki.minetest.org/index.php?title=Time_of_day&amp;action=history"/>
	<updated>2026-04-24T21:08:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.4</generator>
	<entry>
		<id>https://wiki.minetest.org/index.php?title=Time_of_day&amp;diff=12812&amp;oldid=prev</id>
		<title>&gt;Wuzzy: move sim speed down</title>
		<link rel="alternate" type="text/html" href="https://wiki.minetest.org/index.php?title=Time_of_day&amp;diff=12812&amp;oldid=prev"/>
		<updated>2019-02-10T21:50:27Z</updated>

		<summary type="html">&lt;p&gt;move sim speed down&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:50, 10 February 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>&gt;Wuzzy</name></author>
	</entry>
	<entry>
		<id>https://wiki.minetest.org/index.php?title=Time_of_day&amp;diff=9047&amp;oldid=prev</id>
		<title>&gt;Wuzzy: move sim speed down</title>
		<link rel="alternate" type="text/html" href="https://wiki.minetest.org/index.php?title=Time_of_day&amp;diff=9047&amp;oldid=prev"/>
		<updated>2019-02-10T21:50:27Z</updated>

		<summary type="html">&lt;p&gt;move sim speed down&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:50, 10 February 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>&gt;Wuzzy</name></author>
	</entry>
	<entry>
		<id>https://wiki.minetest.org/index.php?title=Time_of_day&amp;diff=5282&amp;oldid=prev</id>
		<title>&gt;Wuzzy: move sim speed down</title>
		<link rel="alternate" type="text/html" href="https://wiki.minetest.org/index.php?title=Time_of_day&amp;diff=5282&amp;oldid=prev"/>
		<updated>2019-02-10T21:50:27Z</updated>

		<summary type="html">&lt;p&gt;move sim speed down&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:50, 10 February 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>&gt;Wuzzy</name></author>
	</entry>
	<entry>
		<id>https://wiki.minetest.org/index.php?title=Time_of_day&amp;diff=1517&amp;oldid=prev</id>
		<title>&gt;Wuzzy: move sim speed down</title>
		<link rel="alternate" type="text/html" href="https://wiki.minetest.org/index.php?title=Time_of_day&amp;diff=1517&amp;oldid=prev"/>
		<updated>2019-02-10T21:50:27Z</updated>

		<summary type="html">&lt;p&gt;move sim speed down&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Languages}}&lt;br /&gt;
[[File:A day in Minetest 0.4.7.png|thumb|150px|A day in Minetest (uses other world times than in the “Important times of day” section)|right]]&lt;br /&gt;
'''Time of day''' determines the position of the sun, moon and stars in the day-night cycle.&lt;br /&gt;
&lt;br /&gt;
== Internal format ==&lt;br /&gt;
The time of day internally uses so-called “millihours” (mh). A millihour is the 1000th part of an hour. 1 millihour equals exactly 3.6 seconds. Note that when we talk about time in this article, we mean the time as simulated in the game, unless mentioned otherwise.&lt;br /&gt;
&lt;br /&gt;
The time of day is a number between 0 and 23999. This range represents a full 24h day. The full hours are multiplied by 1000. So, for example 12:00 would correspond to 12000 millihours.&lt;br /&gt;
&lt;br /&gt;
== Setting the world time ==&lt;br /&gt;
The world time can be set with the &amp;lt;code&amp;gt;/time&amp;lt;/code&amp;gt; [[Server commands|command]] by players who have the “settime” [[Privileges|privilege]]. It takes the desired time of day as it’s only parameter. Refer the “Important times of day” section as a guide.&lt;br /&gt;
&lt;br /&gt;
You can either use millihours or the standard HH:MM format to set the time, but the HH:MM format is less precise.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
*&amp;lt;code&amp;gt;/time 6000&amp;lt;/code&amp;gt; - sets the time of day to morning (6:00)&lt;br /&gt;
*&amp;lt;code&amp;gt;/time 12000&amp;lt;/code&amp;gt; - sets the time of day to midday (12:00)&lt;br /&gt;
*&amp;lt;code&amp;gt;/time 7:30&amp;lt;/code&amp;gt; - sets time to 7:30&lt;br /&gt;
&lt;br /&gt;
== Important times of day ==&lt;br /&gt;
&lt;br /&gt;
The following world times were taken from experimentation. The numbers in brackets denote the brightness level compared to moonlight (higher is brighter, this number is only used for this article).&lt;br /&gt;
* '''At    0 millihours (mh) (0:00) the day begins; it is midnight and the moon is exactly at the zenith (1).'''&lt;br /&gt;
* At  4500 mh (4:30), the first sun rays emit from the horizon, it gets brighter '''(2)'''.&lt;br /&gt;
* At  4750 mh (4:45), the sun rises and it gets brighter '''(3)'''.&lt;br /&gt;
* At  5001 mh (~5:00), it gets brighter again '''(4)'''.&lt;br /&gt;
* At  5200 mh (5:12), the sun becomes fully visible '''(4)'''.&lt;br /&gt;
* At  5250 mh (5:15), it gets brighter again '''(5)'''.&lt;br /&gt;
* At  5500 mh (5:30), it gets brighter again '''(6)'''.&lt;br /&gt;
* At  5751 mh (~5:45), maximum brightness is reached '''(7)'''.&lt;br /&gt;
* '''At 12000 mh (12:00) is midday; the sun is exactly at the zenith (7).'''&lt;br /&gt;
* At 18250 mh (18:15), the day is going to end, it gets a bit darker '''(6)'''.&lt;br /&gt;
* At 18502 mh (~18:30), it gets a bit darker again '''(5)'''.&lt;br /&gt;
* At 18600 mh (18:35), the sun begins to set '''(5)'''.&lt;br /&gt;
* At 18752 mh (~18:45), it gets a bit darker yet again '''(4)'''.&lt;br /&gt;
* At 19000 mh (19:00), the sky gets even darker '''(3)'''.&lt;br /&gt;
* At 19252 mh (~19:15), the sun is almost gone and the sky gets even darker '''(2)'''.&lt;br /&gt;
* At 19359 mh (~19:22), the sun square is gone and the last sun rays emit from the horizon '''(2)'''.&lt;br /&gt;
* At 19500 mh (19:30), the sun rays stop from being visible '''(2)'''.&lt;br /&gt;
* At 19502 mh (~19:30), the sky has the lowest brightness '''(1)'''.&lt;br /&gt;
* At 23999 mh (~23:59), it's the last millihour before the next day '''(1)'''.&lt;br /&gt;
&lt;br /&gt;
== Storing the time of day ==&lt;br /&gt;
In the [[Maps|world]] files in [[env_meta.txt]], the time of day is stored as “time_of_day”.&lt;br /&gt;
&lt;br /&gt;
== Simulation speed ==&lt;br /&gt;
By default, a game day lasts 20 minutes in real time.&lt;br /&gt;
&lt;br /&gt;
The “speed” of full day/night cycle can be set in the [[minetest.conf]] setting &amp;lt;code&amp;gt;time_speed&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Light]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Gameplay]]&lt;/div&gt;</summary>
		<author><name>&gt;Wuzzy</name></author>
	</entry>
</feed>