<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://sqlzoo.net/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://sqlzoo.net/w/index.php?title=Get_a_date_and_time_right_now&amp;feed=atom&amp;action=history</id>
		<title>Get a date and time right now - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://sqlzoo.net/w/index.php?title=Get_a_date_and_time_right_now&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://sqlzoo.net/w/index.php?title=Get_a_date_and_time_right_now&amp;action=history"/>
		<updated>2013-05-26T03:36:59Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.4</generator>

	<entry>
		<id>http://sqlzoo.net/w/index.php?title=Get_a_date_and_time_right_now&amp;diff=1538&amp;oldid=prev</id>
		<title>Connor: Created page with &quot;Get the current date and/or time  &lt;div class='ht'&gt; &lt;div class=params&gt;schema:gisq&lt;/div&gt; &lt;div&gt; SQL Standard specifies CURRENT_TIMESTAMP, [[CURRENT_DATE |C...&quot;</title>
		<link rel="alternate" type="text/html" href="http://sqlzoo.net/w/index.php?title=Get_a_date_and_time_right_now&amp;diff=1538&amp;oldid=prev"/>
				<updated>2012-07-17T15:06:55Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;Get the current date and/or time  &amp;lt;div class=&amp;#039;ht&amp;#039;&amp;gt; &amp;lt;div class=params&amp;gt;schema:gisq&amp;lt;/div&amp;gt; &amp;lt;div&amp;gt; SQL Standard specifies &lt;a href=&quot;/wiki/CURRENT_TIMESTAMP&quot; title=&quot;CURRENT TIMESTAMP&quot;&gt;CURRENT_TIMESTAMP&lt;/a&gt;, [[CURRENT_DATE |C...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Get the current date and/or time &lt;br /&gt;
&amp;lt;div class='ht'&amp;gt;&lt;br /&gt;
&amp;lt;div class=params&amp;gt;schema:gisq&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
SQL Standard specifies [[CURRENT_TIMESTAMP |CURRENT_TIMESTAMP]], [[CURRENT_DATE |CURRENT_DATE]] and CURRENT_TIME. These are widely ignored :( &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;source lang=sql class='tidy'&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;source lang=sql class='setup'&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;source lang='sql' class='def e-access'&amp;gt;SELECT Now(), Date(), Time()&lt;br /&gt;
 FROM nix&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;source lang='sql' class='def e-sqlserver e-sybase'&amp;gt;SELECT GETDATE()&lt;br /&gt;
 FROM nix&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;source lang='sql' class='def e-oracle'&amp;gt;SELECT SYSDATE, SYSTIMESTAMP &lt;br /&gt;
 FROM gisq.nix&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;source lang='sql' class='def'&amp;gt;SELECT CURRENT_TIMESTAMP, CURRENT_DATE, CURRENT_TIME&lt;br /&gt;
 FROM nix&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ecomm e-postgres&amp;quot; style=&amp;quot;display: none&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ecomm e-oracle&amp;quot; style=&amp;quot;display: none&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ecomm e-mysql&amp;quot; style=&amp;quot;display: none&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{{Functions ref}}&lt;/div&gt;</summary>
		<author><name>Connor</name></author>	</entry>

	</feed>