<?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: PHP Set format date</title>
	<atom:link href="http://neo22s.com/php-set-format-date/feed/" rel="self" type="application/rss+xml" />
	<link>http://neo22s.com/php-set-format-date/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=php-set-format-date</link>
	<description>Web development, scripts, source code and IT stuff</description>
	<lastBuildDate>Mon, 06 Feb 2012 10:49:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Chema</title>
		<link>http://neo22s.com/php-set-format-date/comment-page-1/#comment-1222</link>
		<dc:creator>Chema</dc:creator>
		<pubDate>Wed, 20 Jan 2010 15:05:18 +0000</pubDate>
		<guid isPermaLink="false">http://neo22s.com/?p=862#comment-1222</guid>
		<description>Oh thanks on that one. I&#039;ll change it now form OC...just for the future, thanks ;)</description>
		<content:encoded><![CDATA[<p>Oh thanks on that one. I&#8217;ll change it now form OC&#8230;just for the future, thanks ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nenillo</title>
		<link>http://neo22s.com/php-set-format-date/comment-page-1/#comment-1221</link>
		<dc:creator>Nenillo</dc:creator>
		<pubDate>Wed, 20 Jan 2010 15:02:11 +0000</pubDate>
		<guid isPermaLink="false">http://neo22s.com/?p=862#comment-1221</guid>
		<description>Yes, it only accepts &quot;yyyy-mm-dd&quot;, as your function do.

You can also do:

date(&#039;d-m-Y&#039;,strtotime(implode(&#039;-&#039;,array_reverse(explode(&#039;-&#039;,$indate)))));

But yeah, it becomes a little messy...

I see you are using split function, is the same that &quot;explode&quot; but split is deprecated and will be removed on PHP6</description>
		<content:encoded><![CDATA[<p>Yes, it only accepts &#8220;yyyy-mm-dd&#8221;, as your function do.</p>
<p>You can also do:</p>
<p>date(&#8216;d-m-Y&#8217;,strtotime(implode(&#8216;-&#8217;,array_reverse(explode(&#8216;-&#8217;,$indate)))));</p>
<p>But yeah, it becomes a little messy&#8230;</p>
<p>I see you are using split function, is the same that &#8220;explode&#8221; but split is deprecated and will be removed on PHP6</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chema</title>
		<link>http://neo22s.com/php-set-format-date/comment-page-1/#comment-1220</link>
		<dc:creator>Chema</dc:creator>
		<pubDate>Wed, 20 Jan 2010 14:55:14 +0000</pubDate>
		<guid isPermaLink="false">http://neo22s.com/?p=862#comment-1220</guid>
		<description>mmmmmm Yes I see it works as you said, but the problem is when the input is like &quot;dd-mm-yyyy&quot; then the function date returns 1919-1212-09090909 for example.

And for that script I needed to be able to do that xD</description>
		<content:encoded><![CDATA[<p>mmmmmm Yes I see it works as you said, but the problem is when the input is like &#8220;dd-mm-yyyy&#8221; then the function date returns 1919-1212-09090909 for example.</p>
<p>And for that script I needed to be able to do that xD</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nenillo</title>
		<link>http://neo22s.com/php-set-format-date/comment-page-1/#comment-1219</link>
		<dc:creator>Nenillo</dc:creator>
		<pubDate>Wed, 20 Jan 2010 14:50:48 +0000</pubDate>
		<guid isPermaLink="false">http://neo22s.com/?p=862#comment-1219</guid>
		<description>Yes, it will work too, I&#039;m using it everyday :)</description>
		<content:encoded><![CDATA[<p>Yes, it will work too, I&#8217;m using it everyday :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chema</title>
		<link>http://neo22s.com/php-set-format-date/comment-page-1/#comment-1218</link>
		<dc:creator>Chema</dc:creator>
		<pubDate>Wed, 20 Jan 2010 14:47:04 +0000</pubDate>
		<guid isPermaLink="false">http://neo22s.com/?p=862#comment-1218</guid>
		<description>I&#039;ve forgot to say that is from mysql date to other format xD now i think it&#039;s not the same, or it will work too?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve forgot to say that is from mysql date to other format xD now i think it&#8217;s not the same, or it will work too?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nenillo</title>
		<link>http://neo22s.com/php-set-format-date/comment-page-1/#comment-1217</link>
		<dc:creator>Nenillo</dc:creator>
		<pubDate>Wed, 20 Jan 2010 13:56:29 +0000</pubDate>
		<guid isPermaLink="false">http://neo22s.com/?p=862#comment-1217</guid>
		<description>I think you can do the same this way: 

date(&#039;d-m-Y&#039;,strtotime($indate));</description>
		<content:encoded><![CDATA[<p>I think you can do the same this way: </p>
<p>date(&#8216;d-m-Y&#8217;,strtotime($indate));</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Served from: neo22s.com @ 2012-02-12 12:01:08 by W3 Total Cache -->
