<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.kolmafia.us/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jimmyking</id>
	<title>Kolmafia - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.kolmafia.us/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jimmyking"/>
	<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Special:Contributions/Jimmyking"/>
	<updated>2026-04-25T05:05:43Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Timestamp_to_date&amp;diff=9254</id>
		<title>Timestamp to date</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Timestamp_to_date&amp;diff=9254"/>
		<updated>2025-07-19T21:57:49Z</updated>

		<summary type="html">&lt;p&gt;Jimmyking: int timestamp comes first, outformat second (https://github.com/loathers/kolmafia-js/blob/main/index.d.ts)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{&lt;br /&gt;
#vardefine:name|timestamp_to_date}}{{&lt;br /&gt;
#vardefine:return_type|string}}{{&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;
parameter1={{Param|int|timestamp}}|&lt;br /&gt;
parameter2={{Param|string|outFormat}}|&lt;br /&gt;
p2desc={{pspan|dtg}} is the timestamp to convert.|&lt;br /&gt;
p1desc={{pspan|inFormat}} is how the output string is formatted.|&lt;br /&gt;
}}|&lt;br /&gt;
&lt;br /&gt;
function_description=Converts a UNIX timestamp (in milliseconds) to a date. Full information on [http://docs.oracle.com/javase/1.5.0/docs/api/java/text/SimpleDateFormat.html SimpleDateFormat] here.|&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
{{SeeAlso|gameday_to_string|gameday_to_int|now_to_string|now_to_int|time_to_string|date_to_timestamp}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Miscellaneous Functions]]&lt;/div&gt;</summary>
		<author><name>Jimmyking</name></author>
	</entry>
</feed>