<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
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/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>David Pratt &#187; date</title> <atom:link href="http://daipratt.co.uk/tag/date/feed/" rel="self" type="application/rss+xml" /><link>http://daipratt.co.uk</link> <description>Concerned about Website Construction &#38; SEO</description> <lastBuildDate>Wed, 25 Jan 2012 07:16:58 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.1.4</generator> <item><title>How to convert the Drupal node &#8220;created&#8221; date to something readable</title><link>http://daipratt.co.uk/how-to-convert-the-drupal-node-created-date-to-something-readable/</link> <comments>http://daipratt.co.uk/how-to-convert-the-drupal-node-created-date-to-something-readable/#comments</comments> <pubDate>Sat, 08 Aug 2009 17:57:24 +0000</pubDate> <dc:creator>David Pratt</dc:creator> <category><![CDATA[Tech]]></category> <category><![CDATA[date]]></category> <category><![CDATA[drupal]]></category> <guid
isPermaLink="false">http://daipratt.co.uk/?p=419</guid> <description><![CDATA[A code snippet that allows you to display a user readable version of a Drupal date field. You'll know that only robots can understand the Drupal date value...]]></description> <content:encoded><![CDATA[<p>Should you want to display a user readable version of a Drupal date field, the following code snippet might be of use to you:</p><pre class="brush: php; light: true;">&lt;?php echo date("D, j M Y \a\\t G:i", $created_date) ?&gt;</pre><p>For example, if <em>created_date</em> were to equal &#8220;1249641973&#8243;, it would get rendered as &#8220;Fri, 7 Aug 2009 at 11:46&#8243;.  Nice.</p> ]]></content:encoded> <wfw:commentRss>http://daipratt.co.uk/how-to-convert-the-drupal-node-created-date-to-something-readable/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> </channel> </rss>
