<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=Time%3A%3AsetClockDate</id>
	<title>Time::setClockDate - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=Time%3A%3AsetClockDate"/>
	<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Time::setClockDate&amp;action=history"/>
	<updated>2026-07-24T18:04:33Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://rage.grandroleplay.ru/index.php?title=Time::setClockDate&amp;diff=14965&amp;oldid=prev</id>
		<title>imported&gt;Shr0x в 12:42, 10 декабря 2024</title>
		<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Time::setClockDate&amp;diff=14965&amp;oldid=prev"/>
		<updated>2024-12-10T12:42:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
=== Summary ===&lt;br /&gt;
Sets the in-game date by specifying the day, month, and year. This function is useful for synchronizing the game environment with custom timelines or events.&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
mp.game.time.setClockDate(day, month, year);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Required Parameters ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;day:&amp;#039;&amp;#039;&amp;#039; {{RageType|int}} - The day of the month (1–31).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;month:&amp;#039;&amp;#039;&amp;#039; {{RageType|int}} - The month (1–12).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;year:&amp;#039;&amp;#039;&amp;#039; {{RageType|int}} - The year to set.&lt;br /&gt;
&lt;br /&gt;
=== Return Value ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;undefined&amp;#039;&amp;#039;&amp;#039; - No value is returned.&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
This example sets the in-game date to January 1st, 2025:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
mp.game.time.setClockDate(1, 1, 2025);&lt;br /&gt;
mp.gui.chat.push(&amp;quot;The in-game date has been updated to 01/01/2025.&amp;quot;);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{Time_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:Time API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Shr0x</name></author>
	</entry>
</feed>