<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Tech-Recipes - Latest Comments in Get MySQL date in RFC-822 format for RSS feeds | MySQL | Tech-Recipes</title><link>http://tech-recipes.disqus.com/</link><description>Cookbook of Tech Tutorials</description><language>en</language><lastBuildDate>Thu, 04 Jun 2009 03:40:53 -0000</lastBuildDate><item><title>Re: Get MySQL date in RFC-822 format for RSS feeds | MySQL | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/1461/get-mysql-date-in-rfc-822-format-for-rss-feeds/#comment-10477038</link><description>Found this very helpful.  The only one thing I would say is that if you try and use ORDERBY rfcpubate DESC in the MYSQL query something weird happens and it doesn't select the most recent.  To fix i did this:&lt;br&gt;&lt;br&gt;SELECT pubdate, DATE_FORMAT(pubdate,'%a, %d %b %Y %T') AS rfcpubdate FROM tablename ORDERBY pubdate DESC&lt;br&gt;&lt;br&gt;very helpful indeed though</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Damian</dc:creator><pubDate>Thu, 04 Jun 2009 03:40:53 -0000</pubDate></item><item><title>Re: Get MySQL date in RFC-822 format for RSS feeds | MySQL | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/1461/get-mysql-date-in-rfc-822-format-for-rss-feeds/#comment-2770345</link><description>Don't use the php DATE('T') if your (tally ho chaps) british, in winter your feed will validate and general work fine, however in sping when day light savings time kicks in it will mysteriously break. PHP pust your timezone as BST or "British Summer Time" which will not validate, where as GMT (grewnich mean time) does.&lt;br&gt;&lt;br&gt;You have no idea how long it too me to twig what was wrong...&lt;br&gt;&lt;br&gt;Tom</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 18 Jul 2008 17:20:02 -0000</pubDate></item></channel></rss>