<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Convert date formats between PHP and MySQL (mm/dd/yyyy to yyyy-mm-dd)</title>
	<atom:link href="http://www.fahdmurtaza.com/myblog/2008/09/08/convert-date-formats-between-php-and-mysql-mm-dd-yyyy-to-yyyy-mm-dd.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.fahdmurtaza.com/myblog/2008/09/08/convert-date-formats-between-php-and-mysql-mm-dd-yyyy-to-yyyy-mm-dd.html</link>
	<description>Portfolio &#38; Blog</description>
	<lastBuildDate>Thu, 26 Jan 2012 23:01:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Alan</title>
		<link>http://www.fahdmurtaza.com/myblog/2008/09/08/convert-date-formats-between-php-and-mysql-mm-dd-yyyy-to-yyyy-mm-dd.html/comment-page-1#comment-114</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Wed, 08 Oct 2008 17:42:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.fahdmurtaza.com/myblog/?p=412#comment-114</guid>
		<description>If you are processing US or EUR dates for insert into MySQL AND if you&#039;re using a newer version (4.1.1 or later), you also have the str_to_date function:

US:
SELECT str_to_date(&#039;09/08/2008&#039;,&#039;%m/%d/%Y&#039;)

EUR:
SELECT str_to_date(&#039;09/08/2008&#039;,&#039;%d/%m/%Y&#039;)

I think postgresql and Oracle have a similar, &quot;to_date&quot; function, but the formatting strings use a different syntax.</description>
		<content:encoded><![CDATA[<p>If you are processing US or EUR dates for insert into MySQL AND if you&#8217;re using a newer version (4.1.1 or later), you also have the str_to_date function:</p>
<p>US:<br />
SELECT str_to_date(&#8217;09/08/2008&#8242;,&#8217;%m/%d/%Y&#8217;)</p>
<p>EUR:<br />
SELECT str_to_date(&#8217;09/08/2008&#8242;,&#8217;%d/%m/%Y&#8217;)</p>
<p>I think postgresql and Oracle have a similar, &#8220;to_date&#8221; function, but the formatting strings use a different syntax.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

