<?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: How to convert MySQL timestamp to PHP date type</title>
	<atom:link href="http://www.randomsnippets.com/2008/10/05/how-to-convert-mysql-timestamp-to-php-date-type/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.randomsnippets.com/2008/10/05/how-to-convert-mysql-timestamp-to-php-date-type/</link>
	<description>Random Snippets of Code for Web Developers</description>
	<lastBuildDate>Thu, 19 Jan 2012 11:30:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Allen Liu</title>
		<link>http://www.randomsnippets.com/2008/10/05/how-to-convert-mysql-timestamp-to-php-date-type/comment-page-1/#comment-42865</link>
		<dc:creator>Allen Liu</dc:creator>
		<pubDate>Sun, 11 Sep 2011 20:27:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=131#comment-42865</guid>
		<description>Hi Rob,

You&#039;re absolutely right.  In most cases, this is probably the best option.

Allen</description>
		<content:encoded><![CDATA[<p>Hi Rob,</p>
<p>You&#8217;re absolutely right.  In most cases, this is probably the best option.</p>
<p>Allen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.randomsnippets.com/2008/10/05/how-to-convert-mysql-timestamp-to-php-date-type/comment-page-1/#comment-42775</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Sat, 10 Sep 2011 23:20:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=131#comment-42775</guid>
		<description>What about formatting the directly using MySQL - there is a built in MySQL fucntion called DATE_FORMAT that can do this :)</description>
		<content:encoded><![CDATA[<p>What about formatting the directly using MySQL &#8211; there is a built in MySQL fucntion called DATE_FORMAT that can do this :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allen Liu</title>
		<link>http://www.randomsnippets.com/2008/10/05/how-to-convert-mysql-timestamp-to-php-date-type/comment-page-1/#comment-42766</link>
		<dc:creator>Allen Liu</dc:creator>
		<pubDate>Sat, 10 Sep 2011 22:10:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=131#comment-42766</guid>
		<description>No problem.  I glad it helped! =)

Allen</description>
		<content:encoded><![CDATA[<p>No problem.  I glad it helped! =)</p>
<p>Allen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brenda</title>
		<link>http://www.randomsnippets.com/2008/10/05/how-to-convert-mysql-timestamp-to-php-date-type/comment-page-1/#comment-42764</link>
		<dc:creator>Brenda</dc:creator>
		<pubDate>Sat, 10 Sep 2011 22:02:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=131#comment-42764</guid>
		<description>I had been looking for something like this for about a few hours until I finally found your post! Thank you very much!!!</description>
		<content:encoded><![CDATA[<p>I had been looking for something like this for about a few hours until I finally found your post! Thank you very much!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.randomsnippets.com/2008/10/05/how-to-convert-mysql-timestamp-to-php-date-type/comment-page-1/#comment-35905</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sun, 26 Jun 2011 09:03:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=131#comment-35905</guid>
		<description>Thank you! Saved me time!</description>
		<content:encoded><![CDATA[<p>Thank you! Saved me time!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allen Liu</title>
		<link>http://www.randomsnippets.com/2008/10/05/how-to-convert-mysql-timestamp-to-php-date-type/comment-page-1/#comment-35243</link>
		<dc:creator>Allen Liu</dc:creator>
		<pubDate>Fri, 17 Jun 2011 18:04:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=131#comment-35243</guid>
		<description>Thanks for the comment Michael.  Best of luck to your website!</description>
		<content:encoded><![CDATA[<p>Thanks for the comment Michael.  Best of luck to your website!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.randomsnippets.com/2008/10/05/how-to-convert-mysql-timestamp-to-php-date-type/comment-page-1/#comment-35241</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Fri, 17 Jun 2011 17:53:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=131#comment-35241</guid>
		<description>Outstanding help from this guy. Thank you very much Allen</description>
		<content:encoded><![CDATA[<p>Outstanding help from this guy. Thank you very much Allen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allen Liu</title>
		<link>http://www.randomsnippets.com/2008/10/05/how-to-convert-mysql-timestamp-to-php-date-type/comment-page-1/#comment-35080</link>
		<dc:creator>Allen Liu</dc:creator>
		<pubDate>Wed, 15 Jun 2011 15:34:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=131#comment-35080</guid>
		<description>Thanks for the comment!  You&#039;re very welcome =)</description>
		<content:encoded><![CDATA[<p>Thanks for the comment!  You&#8217;re very welcome =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randall</title>
		<link>http://www.randomsnippets.com/2008/10/05/how-to-convert-mysql-timestamp-to-php-date-type/comment-page-1/#comment-35071</link>
		<dc:creator>Randall</dc:creator>
		<pubDate>Wed, 15 Jun 2011 13:13:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=131#comment-35071</guid>
		<description>Just wanted to say &quot;thank you&quot; for the quick help with mysql-to-unix timestamp conversion!
Guys like you make the web ... work!</description>
		<content:encoded><![CDATA[<p>Just wanted to say &#8220;thank you&#8221; for the quick help with mysql-to-unix timestamp conversion!<br />
Guys like you make the web &#8230; work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allen Liu</title>
		<link>http://www.randomsnippets.com/2008/10/05/how-to-convert-mysql-timestamp-to-php-date-type/comment-page-1/#comment-34819</link>
		<dc:creator>Allen Liu</dc:creator>
		<pubDate>Sun, 12 Jun 2011 17:16:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=131#comment-34819</guid>
		<description>Hi Michael,

You have posted your CSS code but I will actually need your MySQL code that queries your database.

Allen</description>
		<content:encoded><![CDATA[<p>Hi Michael,</p>
<p>You have posted your CSS code but I will actually need your MySQL code that queries your database.</p>
<p>Allen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.randomsnippets.com/2008/10/05/how-to-convert-mysql-timestamp-to-php-date-type/comment-page-1/#comment-34818</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sun, 12 Jun 2011 17:11:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=131#comment-34818</guid>
		<description>Thanks for your help in advance





View Details


// CSS code edited out





	
	
		
		
		
		
	
	  		
  		 
  	
	
  		
	
	
    





</description>
		<content:encoded><![CDATA[<p>Thanks for your help in advance</p>
<p>View Details</p>
<p>// CSS code edited out</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allen Liu</title>
		<link>http://www.randomsnippets.com/2008/10/05/how-to-convert-mysql-timestamp-to-php-date-type/comment-page-1/#comment-34817</link>
		<dc:creator>Allen Liu</dc:creator>
		<pubDate>Sun, 12 Jun 2011 17:07:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=131#comment-34817</guid>
		<description>Hi Michael,

I&#039;m glad to hear this helped.  If you are having any number of rows replicated, it sounds like you are using multiple tables and not joining them correctly.  If you give me your MySQL code, I may be able to help out.

Allen</description>
		<content:encoded><![CDATA[<p>Hi Michael,</p>
<p>I&#8217;m glad to hear this helped.  If you are having any number of rows replicated, it sounds like you are using multiple tables and not joining them correctly.  If you give me your MySQL code, I may be able to help out.</p>
<p>Allen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.randomsnippets.com/2008/10/05/how-to-convert-mysql-timestamp-to-php-date-type/comment-page-1/#comment-34809</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sun, 12 Jun 2011 14:01:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=131#comment-34809</guid>
		<description>Well that worked for me. I spent days trying to get my &quot;date&quot; to change from just returning the date in the myqsl table. However my rows are triplicated now!</description>
		<content:encoded><![CDATA[<p>Well that worked for me. I spent days trying to get my &#8220;date&#8221; to change from just returning the date in the myqsl table. However my rows are triplicated now!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christopher</title>
		<link>http://www.randomsnippets.com/2008/10/05/how-to-convert-mysql-timestamp-to-php-date-type/comment-page-1/#comment-32568</link>
		<dc:creator>Christopher</dc:creator>
		<pubDate>Fri, 13 May 2011 03:30:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=131#comment-32568</guid>
		<description>thanks I was really spinning around (at something completely basic) and am happy to finally found an answer for this old VB programmer such as myself.</description>
		<content:encoded><![CDATA[<p>thanks I was really spinning around (at something completely basic) and am happy to finally found an answer for this old VB programmer such as myself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.randomsnippets.com/2008/10/05/how-to-convert-mysql-timestamp-to-php-date-type/comment-page-1/#comment-26483</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Tue, 22 Feb 2011 03:24:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=131#comment-26483</guid>
		<description>Great Post!! really works.</description>
		<content:encoded><![CDATA[<p>Great Post!! really works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raviraj Deora</title>
		<link>http://www.randomsnippets.com/2008/10/05/how-to-convert-mysql-timestamp-to-php-date-type/comment-page-1/#comment-16241</link>
		<dc:creator>Raviraj Deora</dc:creator>
		<pubDate>Mon, 20 Sep 2010 09:24:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=131#comment-16241</guid>
		<description>Great thanks...Superb post...</description>
		<content:encoded><![CDATA[<p>Great thanks&#8230;Superb post&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.randomsnippets.com/2008/10/05/how-to-convert-mysql-timestamp-to-php-date-type/comment-page-1/#comment-10326</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Tue, 12 Jan 2010 06:56:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=131#comment-10326</guid>
		<description>Perfect, exactly what I needed to do! The strtotime function is fantastic! Great post!</description>
		<content:encoded><![CDATA[<p>Perfect, exactly what I needed to do! The strtotime function is fantastic! Great post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gazza</title>
		<link>http://www.randomsnippets.com/2008/10/05/how-to-convert-mysql-timestamp-to-php-date-type/comment-page-1/#comment-7037</link>
		<dc:creator>Gazza</dc:creator>
		<pubDate>Mon, 28 Sep 2009 15:15:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=131#comment-7037</guid>
		<description>This is a great explanation.  I was looking everywhere for an answer to what seemed like such a basic question and after reading this, it is now!! Thanks.</description>
		<content:encoded><![CDATA[<p>This is a great explanation.  I was looking everywhere for an answer to what seemed like such a basic question and after reading this, it is now!! Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://www.randomsnippets.com/2008/10/05/how-to-convert-mysql-timestamp-to-php-date-type/comment-page-1/#comment-6065</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Sun, 23 Aug 2009 19:25:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=131#comment-6065</guid>
		<description>These are excellent snippets.
Thank you very much for taking the time to post them!</description>
		<content:encoded><![CDATA[<p>These are excellent snippets.<br />
Thank you very much for taking the time to post them!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny</title>
		<link>http://www.randomsnippets.com/2008/10/05/how-to-convert-mysql-timestamp-to-php-date-type/comment-page-1/#comment-3875</link>
		<dc:creator>Danny</dc:creator>
		<pubDate>Sat, 23 May 2009 14:22:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=131#comment-3875</guid>
		<description>Thanks for the clear and nicely written explanation.
My next adventure is to try and figure out how to calculate time difference between this result and now.
I want to display strings like &quot;2 hours ago&quot;, &quot;1 week ago&quot; etc.

Thanks again.</description>
		<content:encoded><![CDATA[<p>Thanks for the clear and nicely written explanation.<br />
My next adventure is to try and figure out how to calculate time difference between this result and now.<br />
I want to display strings like &#8220;2 hours ago&#8221;, &#8220;1 week ago&#8221; etc.</p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.randomsnippets.com/2008/10/05/how-to-convert-mysql-timestamp-to-php-date-type/comment-page-1/#comment-652</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 06 Nov 2008 20:14:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=131#comment-652</guid>
		<description>Great, exactly what i was looking for!
Saved me a lot of time!

Thanks</description>
		<content:encoded><![CDATA[<p>Great, exactly what i was looking for!<br />
Saved me a lot of time!</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

