<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.herc.ws/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.herc.ws/w/index.php?action=history&amp;feed=atom&amp;title=Gettimetick</id>
		<title>Gettimetick - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.herc.ws/w/index.php?action=history&amp;feed=atom&amp;title=Gettimetick"/>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/w/index.php?title=Gettimetick&amp;action=history"/>
		<updated>2026-05-05T13:21:40Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21.11</generator>

	<entry>
		<id>https://wiki.herc.ws/w/index.php?title=Gettimetick&amp;diff=377&amp;oldid=prev</id>
		<title>Via: Created page with &quot;==Syntax== *'''gettimetick'''(&lt;type&gt;);  ==Description== This function retrieves various ticks, depending on provided ''type'': *0: Returns server's tick, which is a measuremen...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/w/index.php?title=Gettimetick&amp;diff=377&amp;oldid=prev"/>
				<updated>2013-06-09T03:35:36Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Syntax== *&amp;#039;&amp;#039;&amp;#039;gettimetick&amp;#039;&amp;#039;&amp;#039;(&amp;lt;type&amp;gt;);  ==Description== This function retrieves various ticks, depending on provided &amp;#039;&amp;#039;type&amp;#039;&amp;#039;: *0: Returns server&amp;#039;s tick, which is a measuremen...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Syntax==&lt;br /&gt;
*'''gettimetick'''(&amp;lt;type&amp;gt;);&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
This function retrieves various ticks, depending on provided ''type'':&lt;br /&gt;
*0: Returns server's tick, which is a measurement in milliseconds used by the server's timer system, typically amount of milliseconds since last boot. The server's tick is an unsigned int which loops every ~47 days.&lt;br /&gt;
*1: Second of Day (0: 00:00:00 - 86399: 23:59:59)&lt;br /&gt;
*2: Seconds since January 1, 1970 00:00:00 UTC (UNIX epoch)&lt;br /&gt;
Any other value defaults to 0. This function is especially useful for measuring of short time spans. For cases where time requires to be stored and remain valid across restarts, [[gettime]] should be considered instead.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
 [[mes]] &amp;quot;I already wasted &amp;quot;+getimetick(1);&lt;br /&gt;
 mes &amp;quot;seconds of this day,&amp;quot;;&lt;br /&gt;
 mes &amp;quot;what a misfortune...&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
[[Category:Script Command]]&lt;/div&gt;</summary>
		<author><name>Via</name></author>	</entry>

	</feed>