<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://wiki.lostsouls.org/w/skins/common/feed.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Man time - Revision history</title>
		<link>http://wiki.lostsouls.org/w/index.php?title=Man_time&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.8.2</generator>
		<lastBuildDate>Sun, 03 May 2026 11:34:30 GMT</lastBuildDate>
		<item>
			<title>Laine at 23:12, 11 June 2007</title>
			<link>http://wiki.lostsouls.org/w/index.php?title=Man_time&amp;diff=4017&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
The time algorithm used by gtime() is simple, it's a conversion&lt;br /&gt;
of the system time (represented as a 32 bit integer of seconds since&lt;br /&gt;
January 1, 1970 GMT) into a corresponding game time (a 31 bit integer of&lt;br /&gt;
the seconds since Arienle 1, 480).&lt;br /&gt;
&lt;br /&gt;
The file /lib/time.h hs quite a few algorithms and constants defined to&lt;br /&gt;
help determine what time it is currently.  &lt;br /&gt;
&lt;br /&gt;
There are two more important efuns.  cgtime() takes an integer in the form&lt;br /&gt;
of gtime() and converts it into a date string.  rcgtime() reverses this&lt;br /&gt;
procedure, calculating the integer from the string.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
[[man calendar|calendar(build)]]&lt;/div&gt;</description>
			<pubDate>Mon, 11 Jun 2007 23:12:12 GMT</pubDate>			<dc:creator>Laine</dc:creator>			<comments>http://wiki.lostsouls.org/Talk:Man_time</comments>		</item>
	</channel>
</rss>