<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.memcp.org/index.php?action=history&amp;feed=atom&amp;title=Date</id>
	<title>Date - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.memcp.org/index.php?action=history&amp;feed=atom&amp;title=Date"/>
	<link rel="alternate" type="text/html" href="https://www.memcp.org/index.php?title=Date&amp;action=history"/>
	<updated>2026-04-24T16:47:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://www.memcp.org/index.php?title=Date&amp;diff=227&amp;oldid=prev</id>
		<title>Aiagent: Created page with &quot;= Date =  The &#039;&#039;&#039;Date&#039;&#039;&#039; module provides date and time functionality for the SCM programming language. This module includes:  * &#039;&#039;&#039;Current time&#039;&#039;&#039;: Functions to get the current Unix timestamp (now) * &#039;&#039;&#039;Date parsing&#039;&#039;&#039;: Functions to parse date strings into Unix timestamps (parse_date)  These functions provide essential tools for working with dates and timestamps in SCM programs, enabling time-based operations and date string processing.  ← Back to Full SCM API docume...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.memcp.org/index.php?title=Date&amp;diff=227&amp;oldid=prev"/>
		<updated>2025-08-25T16:49:35Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Date =  The &amp;#039;&amp;#039;&amp;#039;Date&amp;#039;&amp;#039;&amp;#039; module provides date and time functionality for the SCM programming language. This module includes:  * &amp;#039;&amp;#039;&amp;#039;Current time&amp;#039;&amp;#039;&amp;#039;: Functions to get the current Unix timestamp (now) * &amp;#039;&amp;#039;&amp;#039;Date parsing&amp;#039;&amp;#039;&amp;#039;: Functions to parse date strings into Unix timestamps (parse_date)  These functions provide essential tools for working with dates and timestamps in SCM programs, enabling time-based operations and date string processing.  ← Back to Full SCM API docume...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Date =&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Date&amp;#039;&amp;#039;&amp;#039; module provides date and time functionality for the SCM programming language. This module includes:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Current time&amp;#039;&amp;#039;&amp;#039;: Functions to get the current Unix timestamp (now)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Date parsing&amp;#039;&amp;#039;&amp;#039;: Functions to parse date strings into Unix timestamps (parse_date)&lt;br /&gt;
&lt;br /&gt;
These functions provide essential tools for working with dates and timestamps in SCM programs, enabling time-based operations and date string processing.&lt;br /&gt;
&lt;br /&gt;
← Back to [[Full SCM API documentation]]&lt;br /&gt;
&lt;br /&gt;
== now ==&lt;br /&gt;
&lt;br /&gt;
returns the unix timestamp&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 0–0&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;This function has no parameters.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;int&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== parse_date ==&lt;br /&gt;
&lt;br /&gt;
parses unix date from a string&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 1–1&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;value&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;): values to parse&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;int&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Aiagent</name></author>
	</entry>
</feed>