<?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=Now_to_string</id>
	<title>Now to string - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.kolmafia.us/index.php?action=history&amp;feed=atom&amp;title=Now_to_string"/>
	<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Now_to_string&amp;action=history"/>
	<updated>2026-04-25T01:33:56Z</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=Now_to_string&amp;diff=7410&amp;oldid=prev</id>
		<title>Alhifar: Updated SimpleDateFormat link</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Now_to_string&amp;diff=7410&amp;oldid=prev"/>
		<updated>2014-01-23T13:29:30Z</updated>

		<summary type="html">&lt;p&gt;Updated SimpleDateFormat link&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:29, 23 January 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l15&quot;&gt;Line 15:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 15:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}|&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}|&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;function_description=Returns the current time (based on your local computer&#039;s system settings) in SimpleDateFormat format. Full information on [http://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;download&lt;/del&gt;.oracle.com/javase/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1.3&lt;/del&gt;/docs/api/java/text/SimpleDateFormat.html SimpleDateFormat] here.|&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;function_description=Returns the current time (based on your local computer&#039;s system settings) in SimpleDateFormat format. Full information on [http://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;docs&lt;/ins&gt;.oracle.com/javase/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;6&lt;/ins&gt;/docs/api/java/text/SimpleDateFormat.html SimpleDateFormat] here.|&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;code1={{CodeSample|&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;code1={{CodeSample|&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Alhifar</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Now_to_string&amp;diff=7409&amp;oldid=prev</id>
		<title>Bale: new in r8944</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Now_to_string&amp;diff=7409&amp;oldid=prev"/>
		<updated>2011-01-26T23:51:40Z</updated>

		<summary type="html">&lt;p&gt;new in r8944&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|now_to_string}}{{&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|string|format}}|&lt;br /&gt;
p1desc={{pspan|format}} is how the return value should be formatted.|&lt;br /&gt;
}}|&lt;br /&gt;
&lt;br /&gt;
function_description=Returns the current time (based on your local computer&amp;#039;s system settings) in SimpleDateFormat format. Full information on [http://download.oracle.com/javase/1.3/docs/api/java/text/SimpleDateFormat.html SimpleDateFormat] here.|&lt;br /&gt;
&lt;br /&gt;
code1={{CodeSample|&lt;br /&gt;
title=Code Sample|&lt;br /&gt;
description=Examples of using now_to_string().|&lt;br /&gt;
code=&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
print(&amp;quot;Example 1: &amp;quot;+ now_to_string(&amp;quot;yyyy.MM.dd G &amp;#039;at&amp;#039; HH:mm:ss z&amp;quot;));&lt;br /&gt;
print(&amp;quot;Example 2: &amp;quot;+ now_to_string(&amp;quot;EEE, MMM d, &amp;#039;&amp;#039;yy&amp;quot;));&lt;br /&gt;
print(&amp;quot;Example 3: &amp;quot;+ now_to_string(&amp;quot;h:mm a&amp;quot;));&lt;br /&gt;
print(&amp;quot;Example 4: &amp;quot;+ now_to_string(&amp;quot;hh &amp;#039;o&amp;#039;&amp;#039;clock&amp;#039; a, zzzz&amp;quot;));&lt;br /&gt;
print(&amp;quot;Example 5: &amp;quot;+ now_to_string(&amp;quot;K:mm a, z&amp;quot;));&lt;br /&gt;
print(&amp;quot;Example 6: &amp;quot;+ now_to_string(&amp;quot;yyyyy.MMMMM.dd GGG hh:mm aaa&amp;quot;));&lt;br /&gt;
print(&amp;quot;Example 7: &amp;quot;+ now_to_string(&amp;quot;EEE, d MMM yyyy HH:mm:ss Z&amp;quot;));&lt;br /&gt;
print(&amp;quot;Example 8: &amp;quot;+ now_to_string(&amp;quot;yyMMddHHmmssZ&amp;quot;));&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;|&lt;br /&gt;
moreinfo=&lt;br /&gt;
This is the output:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Example 1: 2011.01.25 AD at 21:14:56 CST&lt;br /&gt;
Example 2: Tue, Jan 25, &amp;#039;11&lt;br /&gt;
Example 3: 9:15 PM&lt;br /&gt;
Example 4: 09 o&amp;#039;clock PM, Central Standard Time&lt;br /&gt;
Example 5: 9:15 PM, CST&lt;br /&gt;
Example 6: 02011.January.25 AD 09:16 PM&lt;br /&gt;
Example 7: Tue, 25 Jan 2011 21:16:16 -0600&lt;br /&gt;
Example 8: 110125211624-0600&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}|&lt;br /&gt;
}}&lt;br /&gt;
{{SeeAlso|gameday_to_string|gameday_to_int|today_to_string|time_to_string}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Miscellaneous Functions]]&lt;/div&gt;</summary>
		<author><name>Bale</name></author>
	</entry>
</feed>