<?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"
	>
<channel>
	<title>Comments on: MySQL, PHP and time conversion</title>
	<atom:link href="http://unknowngenius.com/blog/archives/2005/03/14/mysql-php-and-time-conversion/feed/" rel="self" type="application/rss+xml" />
	<link>http://unknowngenius.com/blog/archives/2005/03/14/mysql-php-and-time-conversion/</link>
	<description>Chemically-enhanced neural rewiring, on a semi-regular basis...</description>
	<pubDate>Wed, 08 Oct 2008 06:24:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: mike</title>
		<link>http://unknowngenius.com/blog/archives/2005/03/14/mysql-php-and-time-conversion/#comment-482485</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Tue, 30 Nov 2010 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://unknowngenius.com/blog/archives/2005/03/14/mysql-php-and-time-conversion/#comment-482485</guid>
		<description>Heres a small tip to save you headaches that I use. Since mysql has its own format for storing time I don't set up the table as a date value I simply set it as an interger a number stored on the DB. 

Makes it all real simple you get the timestamp with time() store this number in the DB when you want to use it do this :

echo $time=date("d-M-Y h:i:s",array['name_of_your_row']);</description>
		<content:encoded><![CDATA[<p>Heres a small tip to save you headaches that I use. Since mysql has its own format for storing time I don&#8217;t set up the table as a date value I simply set it as an interger a number stored on the DB. </p>
<p>Makes it all real simple you get the timestamp with time() store this number in the DB when you want to use it do this :</p>
<p>echo $time=date(&#8221;d-M-Y h:i:s&#8221;,array['name_of_your_row']);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hafeez</title>
		<link>http://unknowngenius.com/blog/archives/2005/03/14/mysql-php-and-time-conversion/#comment-238746</link>
		<dc:creator>hafeez</dc:creator>
		<pubDate>Thu, 30 Nov 2000 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://unknowngenius.com/blog/archives/2005/03/14/mysql-php-and-time-conversion/#comment-238746</guid>
		<description>Its very nice but if that would have done by showing the result as age would be appreciable.</description>
		<content:encoded><![CDATA[<p>Its very nice but if that would have done by showing the result as age would be appreciable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PRAVEEN</title>
		<link>http://unknowngenius.com/blog/archives/2005/03/14/mysql-php-and-time-conversion/#comment-46176</link>
		<dc:creator>PRAVEEN</dc:creator>
		<pubDate>Fri, 30 Nov 2001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://unknowngenius.com/blog/archives/2005/03/14/mysql-php-and-time-conversion/#comment-46176</guid>
		<description>Thanks for the code... It saved me the time and greatly reduces the Headche... 
Thanks for the script</description>
		<content:encoded><![CDATA[<p>Thanks for the code&#8230; It saved me the time and greatly reduces the Headche&#8230;<br />
Thanks for the script</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Wilkinson</title>
		<link>http://unknowngenius.com/blog/archives/2005/03/14/mysql-php-and-time-conversion/#comment-20377</link>
		<dc:creator>David Wilkinson</dc:creator>
		<pubDate>Fri, 30 Nov 2007 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://unknowngenius.com/blog/archives/2005/03/14/mysql-php-and-time-conversion/#comment-20377</guid>
		<description>Thanks so much for posting this. It saved me some 'GMT time'.</description>
		<content:encoded><![CDATA[<p>Thanks so much for posting this. It saved me some &#8216;GMT time&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jansan</title>
		<link>http://unknowngenius.com/blog/archives/2005/03/14/mysql-php-and-time-conversion/#comment-17141</link>
		<dc:creator>Jansan</dc:creator>
		<pubDate>Tue, 30 Nov 2010 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://unknowngenius.com/blog/archives/2005/03/14/mysql-php-and-time-conversion/#comment-17141</guid>
		<description>Wow nice script! What i am looking for...........
Thanks for the code!</description>
		<content:encoded><![CDATA[<p>Wow nice script! What i am looking for&#8230;&#8230;&#8230;..<br />
Thanks for the code!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Payne</title>
		<link>http://unknowngenius.com/blog/archives/2005/03/14/mysql-php-and-time-conversion/#comment-8382</link>
		<dc:creator>Mark Payne</dc:creator>
		<pubDate>Fri, 30 Nov 2007 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://unknowngenius.com/blog/archives/2005/03/14/mysql-php-and-time-conversion/#comment-8382</guid>
		<description>Aha! That's why the "Dunstan's time since" plugin doesn't work exactly like it should!!!</description>
		<content:encoded><![CDATA[<p>Aha! That&#8217;s why the &#8220;Dunstan&#8217;s time since&#8221; plugin doesn&#8217;t work exactly like it should!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Skelton</title>
		<link>http://unknowngenius.com/blog/archives/2005/03/14/mysql-php-and-time-conversion/#comment-8175</link>
		<dc:creator>Andy Skelton</dc:creator>
		<pubDate>Sun, 30 Nov 2008 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://unknowngenius.com/blog/archives/2005/03/14/mysql-php-and-time-conversion/#comment-8175</guid>
		<description>"Normal people, please skip over." I like it. I'm going to steal that, okay?
Thanks for all the code! I just started with WordPress, PHP and MySQL and you might have already seen &lt;a href="http://www.skeltoac.com/2005/03/12/from-blogger-to-wordpress-2/" rel="nofollow"&gt;my first endeavor.&lt;/a&gt; Now, if I only had a good idea for a plugin...</description>
		<content:encoded><![CDATA[<p>&#8220;Normal people, please skip over.&#8221; I like it. I&#8217;m going to steal that, okay?<br />
Thanks for all the code! I just started with WordPress, PHP and MySQL and you might have already seen <a href="http://www.skeltoac.com/2005/03/12/from-blogger-to-wordpress-2/" rel="nofollow">my first endeavor.</a> Now, if I only had a good idea for a plugin&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
