<?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>Sat, 25 May 2013 05:39:58 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Calculating date difference more precisely in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9774</guid>
      <link>http://www.phpdeveloper.org/news/9774</link>
      <description><![CDATA[<p>
<i>Hasin Hayder</i> has posted <a href="http://www.developertutorials.com/blog/php/calculating-date-difference-more-precisely-in-php-71/">his own response</a> to a recent "relative time" article (showing users things like "received 2 days and 3 hours ago") with a more precise method for doing something similar:
</p>
<blockquote>
This function is production ready and you can use it in any of your application which mainly works with these date difference. I have found it somewhere in web, just forgot the source. Thanks to the unknown author of this excellent function.
</blockquote>
<p>
The rest of <a href="http://www.developertutorials.com/blog/php/calculating-date-difference-more-precisely-in-php-71/">the post</a> is the function itself that takes in the interval string (formatting), the start date, end date and whether to use timestamps or not.
</p>]]></description>
      <pubDate>Tue, 11 Mar 2008 08:40:00 -0500</pubDate>
    </item>
  </channel>
</rss>
