<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.kolmafia.us/index.php?action=history&amp;feed=atom&amp;title=Rollover</id>
	<title>Rollover - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.kolmafia.us/index.php?action=history&amp;feed=atom&amp;title=Rollover"/>
	<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Rollover&amp;action=history"/>
	<updated>2026-04-25T06:30:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Rollover&amp;diff=9182&amp;oldid=prev</id>
		<title>Mcroft: added missing rollover function to wiki</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Rollover&amp;diff=9182&amp;oldid=prev"/>
		<updated>2023-01-31T05:49:29Z</updated>

		<summary type="html">&lt;p&gt;added missing rollover function to wiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{&lt;br /&gt;
#vardefine:name|rollover}}{{&lt;br /&gt;
#vardefine:return_type|int}}{{&lt;br /&gt;
&lt;br /&gt;
FunctionPage|&lt;br /&gt;
name={{#var:name}}|&lt;br /&gt;
&lt;br /&gt;
function1={{Function|&lt;br /&gt;
name={{#var:name}}|&lt;br /&gt;
aggregate={{#var:aggregate}}|&lt;br /&gt;
return_type={{#var:return_type}}|&lt;br /&gt;
return_also={{#var:return_also}}|&lt;br /&gt;
}}|&lt;br /&gt;
&lt;br /&gt;
function_description=Returns the unix epoch time of the next rollover.|&lt;br /&gt;
&lt;br /&gt;
code1={{CodeSample|&lt;br /&gt;
title=Code Sample|&lt;br /&gt;
description=The following tells you how long until rollover.|&lt;br /&gt;
code=&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
if (rollover() - now_to_int() &amp;gt; 0) {&lt;br /&gt;
   print(&amp;quot;There are &amp;quot; + (rollover() - now_to_int()) + &amp;quot; seconds until rollover.&amp;quot;);&lt;br /&gt;
} else {&lt;br /&gt;
   print(&amp;quot;Rollover is now.&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;}}|&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{SeeAlso|gameday_to_string|gameday_to_int|now_to_int|now_to_string|time_to_string|timestamp_to_date|date_to_timestamp}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Miscellaneous Functions]]&lt;/div&gt;</summary>
		<author><name>Mcroft</name></author>
	</entry>
</feed>