<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Thu, 23 May 2013 14:56:51 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[David Goodwin's Blog: PHP DateTime vs mktime / strtotime in Propel]]></title>
      <guid>http://www.phpdeveloper.org/news/8695</guid>
      <link>http://www.phpdeveloper.org/news/8695</link>
      <description><![CDATA[<p>
<i>David Goodwin</i>, a developer on the <a href="http://propel.phpdb.org/">Propel project</a> has <a href="http://codepoets.co.uk/php-datetime-vs-mktime-strtotime-propel">posted about</a> a new feature included in the latest PHP version, the DateTime functionality, and how they put it to use in Propel.
</p>
<blockquote>
One of the relatively new features in PHP 5.2, is the <a href="http://php.net/date_create">DateTime</a> class/functions. It has a few useful functions (<a href="http://php.net/date_parse">date_parse</a>, <a href="http://php.net/date_date_set">date_date_set</a>, <a href="http://php.net/date_time_set">date_time_set</a> etc) which make dealing with dates and times easier (date_parse provides some useful error info too).
</blockquote>
<p>
He also mentions the ability of the functionality to handles dates before 1970 or after 2038, a common problem with PHP's native date functionality. He illustrates how it's useful by describing the change they made in Propel store DateTime objects instead of the integer timestamps like before.
</p>]]></description>
      <pubDate>Thu, 20 Sep 2007 12:52:00 -0500</pubDate>
    </item>
  </channel>
</rss>
