<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.mudlet.org/index.php?action=history&amp;feed=atom&amp;title=User%3AKebap%2FManual%3Adatetime%3Aparse</id>
	<title>User:Kebap/Manual:datetime:parse - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mudlet.org/index.php?action=history&amp;feed=atom&amp;title=User%3AKebap%2FManual%3Adatetime%3Aparse"/>
	<link rel="alternate" type="text/html" href="https://wiki.mudlet.org/index.php?title=User:Kebap/Manual:datetime:parse&amp;action=history"/>
	<updated>2026-07-25T13:47:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.mudlet.org/index.php?title=User:Kebap/Manual:datetime:parse&amp;diff=4583&amp;oldid=prev</id>
		<title>Kebap at 19:22, 5 June 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.mudlet.org/index.php?title=User:Kebap/Manual:datetime:parse&amp;diff=4583&amp;oldid=prev"/>
		<updated>2018-06-05T19:22:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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 19:22, 5 June 2018&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-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==datetime:parse==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;;&amp;lt;nowiki&amp;gt;datetime:parse(source, format, as_epoch)&amp;lt;/nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;;&amp;lt;nowiki&amp;gt;datetime:parse(source, format, as_epoch)&amp;lt;/nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;: Parses the specified source string, according to the format if given, to return a representation of the date/time. If as_epoch is provided and true, the return value will be a Unix epoch — the number of seconds since 1970. This is a useful format for exchanging date/times with other systems. If as_epoch is false, then a Lua time table will be returned. Details of the time tables are provided in the [http://www.lua.org/pil/22.1.html Lua Manual].&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;: Parses the specified source string, according to the format if given, to return a representation of the date/time. If as_epoch is provided and true, the return value will be a Unix epoch — the number of seconds since 1970. This is a useful format for exchanging date/times with other systems. If as_epoch is false, then a Lua time table will be returned. Details of the time tables are provided in the [http://www.lua.org/pil/22.1.html Lua Manual].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb:diff::1.12:old-4539:rev-4583 --&gt;
&lt;/table&gt;</summary>
		<author><name>Kebap</name></author>
	</entry>
	<entry>
		<id>https://wiki.mudlet.org/index.php?title=User:Kebap/Manual:datetime:parse&amp;diff=4539&amp;oldid=prev</id>
		<title>Kebap: Created page with &quot;;&lt;nowiki&gt;datetime:parse(source, format, as_epoch)&lt;/nowiki&gt; : Parses the specified source string, according to the format if given, to return a representation of the date/time....&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.mudlet.org/index.php?title=User:Kebap/Manual:datetime:parse&amp;diff=4539&amp;oldid=prev"/>
		<updated>2018-05-29T16:32:50Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;;&amp;lt;nowiki&amp;gt;datetime:parse(source, format, as_epoch)&amp;lt;/nowiki&amp;gt; : Parses the specified source string, according to the format if given, to return a representation of the date/time....&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;;&amp;lt;nowiki&amp;gt;datetime:parse(source, format, as_epoch)&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
: Parses the specified source string, according to the format if given, to return a representation of the date/time. If as_epoch is provided and true, the return value will be a Unix epoch — the number of seconds since 1970. This is a useful format for exchanging date/times with other systems. If as_epoch is false, then a Lua time table will be returned. Details of the time tables are provided in the [http://www.lua.org/pil/22.1.html Lua Manual].&lt;br /&gt;
&lt;br /&gt;
; Supported Format Codes&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
%b = Abbreviated Month Name&lt;br /&gt;
%B = Full Month Name&lt;br /&gt;
%d = Day of Month&lt;br /&gt;
%H = Hour (24-hour format)&lt;br /&gt;
%I = Hour (12-hour format, requires %p as well)&lt;br /&gt;
%p = AM or PM&lt;br /&gt;
%m = 2-digit month (01-12)&lt;br /&gt;
%M = 2-digit minutes (00-59)&lt;br /&gt;
%S = 2-digit seconds (00-59)&lt;br /&gt;
%y = 2-digit year (00-99), will automatically prepend 20 so 10 becomes 2010 and not 1910.&lt;br /&gt;
%Y = 4-digit year.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kebap</name></author>
	</entry>
</feed>