<?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: Tips for Manipulating dates in MySQL.</title>
	<atom:link href="http://www.wiseguysonly.com/2009/02/06/tips-for-manipulating-dates-in-mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wiseguysonly.com/2009/02/06/tips-for-manipulating-dates-in-mysql/</link>
	<description>PHP,MySQL and jQuery Developer</description>
	<lastBuildDate>Tue, 20 Jul 2010 13:13:48 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: dinesh</title>
		<link>http://www.wiseguysonly.com/2009/02/06/tips-for-manipulating-dates-in-mysql/comment-page-1/#comment-5747</link>
		<dc:creator>dinesh</dc:creator>
		<pubDate>Fri, 09 Jul 2010 13:50:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.wiseguysonly.com/?p=197#comment-5747</guid>
		<description>Wonder if you can help me with formating a date using a mysql_fetch_array. Following your instructions above and am to MySQL &amp; PHP . I get a “supplied argument is not a valid MySQL result resource error” and I think that I am not getting the right syntax.
I have field joindate which is saved as now() and I endeavouring to change it to %a %d %b %Y. Here is the code:
$list_count = mysql_fetch_array(mysql_query(”SELECT COUNT(*) FROM $list WHERE userid=’$f[id]‘,DATE_FORMAT(NOW(),’%a %d %b %Y’) as joindate;” ));

Appreciate your help</description>
		<content:encoded><![CDATA[<p>Wonder if you can help me with formating a date using a mysql_fetch_array. Following your instructions above and am to MySQL &amp; PHP . I get a “supplied argument is not a valid MySQL result resource error” and I think that I am not getting the right syntax.<br />
I have field joindate which is saved as now() and I endeavouring to change it to %a %d %b %Y. Here is the code:<br />
$list_count = mysql_fetch_array(mysql_query(”SELECT COUNT(*) FROM $list WHERE userid=’$f[id]‘,DATE_FORMAT(NOW(),’%a %d %b %Y’) as joindate;” ));</p>
<p>Appreciate your help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jean</title>
		<link>http://www.wiseguysonly.com/2009/02/06/tips-for-manipulating-dates-in-mysql/comment-page-1/#comment-4647</link>
		<dc:creator>Jean</dc:creator>
		<pubDate>Thu, 25 Jun 2009 12:23:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.wiseguysonly.com/?p=197#comment-4647</guid>
		<description>Hi
Wonder if you can help me with formating a date using  a mysql_fetch_array. Following your instructions above and am to MySQL &amp; PHP . I get a &quot;supplied argument is not a valid MySQL result resource  error&quot; and I think that I am not getting the right syntax.
I have field joindate which is saved as now() and I endeavouring to change it to %a %d %b %Y. Here is the code:
$list_count = mysql_fetch_array(mysql_query(&quot;SELECT COUNT(*) FROM $list WHERE userid=&#039;$f[id]&#039;,DATE_FORMAT(NOW(),’%a %d %b %Y’) as joindate;&quot; ));

Appreciate your help</description>
		<content:encoded><![CDATA[<p>Hi<br />
Wonder if you can help me with formating a date using  a mysql_fetch_array. Following your instructions above and am to MySQL &amp; PHP . I get a &#8220;supplied argument is not a valid MySQL result resource  error&#8221; and I think that I am not getting the right syntax.<br />
I have field joindate which is saved as now() and I endeavouring to change it to %a %d %b %Y. Here is the code:<br />
$list_count = mysql_fetch_array(mysql_query(&#8221;SELECT COUNT(*) FROM $list WHERE userid=&#8217;$f[id]&#8216;,DATE_FORMAT(NOW(),’%a %d %b %Y’) as joindate;&#8221; ));</p>
<p>Appreciate your help</p>
]]></content:encoded>
	</item>
</channel>
</rss>
