<?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/"
	xmlns:series="http://organizeseries.com/"
		>
<channel>
	<title>Comments on: Cool DateTime Functions In PHP 5.3</title>
	<atom:link href="http://www.brandonsavage.net/cool-datetime-functions-in-php-5-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brandonsavage.net/cool-datetime-functions-in-php-5-3/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cool-datetime-functions-in-php-5-3</link>
	<description>The personal blog of Brandon Savage. Contains entries of a personal and professional nature focusing on PHP, Apple, LAMP, MySQL and Washington, DC.</description>
	<lastBuildDate>Wed, 15 May 2013 14:54:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.2-alpha</generator>
	<item>
		<title>By: Andy Thompson</title>
		<link>http://www.brandonsavage.net/cool-datetime-functions-in-php-5-3/#comment-2913</link>
		<dc:creator>Andy Thompson</dc:creator>
		<pubDate>Wed, 27 Jan 2010 20:19:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=1157#comment-2913</guid>
		<description><![CDATA[@Nicolas so is time() :)]]></description>
		<content:encoded><![CDATA[<p>@Nicolas so is time() :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas</title>
		<link>http://www.brandonsavage.net/cool-datetime-functions-in-php-5-3/#comment-2909</link>
		<dc:creator>Nicolas</dc:creator>
		<pubDate>Mon, 25 Jan 2010 18:58:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=1157#comment-2909</guid>
		<description><![CDATA[date(&#039;U&#039;); // &lt;--- this works great if you want the current unix timestamp]]></description>
		<content:encoded><![CDATA[<p>date(&#8216;U&#8217;); // &lt;&#8212; this works great if you want the current unix timestamp</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Scott</title>
		<link>http://www.brandonsavage.net/cool-datetime-functions-in-php-5-3/#comment-2908</link>
		<dc:creator>Joseph Scott</dc:creator>
		<pubDate>Mon, 25 Jan 2010 17:40:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=1157#comment-2908</guid>
		<description><![CDATA[I like the features, but the syntax just seems purposely odd.

PostgreSQL has supported this type of date/time transformations with some very straight forward syntax - http://www.postgresql.org/docs/8.4/interactive/functions-datetime.html]]></description>
		<content:encoded><![CDATA[<p>I like the features, but the syntax just seems purposely odd.</p>
<p>PostgreSQL has supported this type of date/time transformations with some very straight forward syntax &#8211; <a href="http://www.postgresql.org/docs/8.4/interactive/functions-datetime.html" rel="nofollow">http://www.postgresql.org/docs/8.4/interactive/functions-datetime.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Thompson</title>
		<link>http://www.brandonsavage.net/cool-datetime-functions-in-php-5-3/#comment-2907</link>
		<dc:creator>James Thompson</dc:creator>
		<pubDate>Mon, 25 Jan 2010 15:35:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=1157#comment-2907</guid>
		<description><![CDATA[I like using this to display the run time of a script (especially those long ones that might take 30 minutes to run).

What&#039;s great about using an object is that you have a lot of built in functionality that you would have to otherwise build in yourself.]]></description>
		<content:encoded><![CDATA[<p>I like using this to display the run time of a script (especially those long ones that might take 30 minutes to run).</p>
<p>What&#8217;s great about using an object is that you have a lot of built in functionality that you would have to otherwise build in yourself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: devnotes</title>
		<link>http://www.brandonsavage.net/cool-datetime-functions-in-php-5-3/#comment-2904</link>
		<dc:creator>devnotes</dc:creator>
		<pubDate>Mon, 25 Jan 2010 13:59:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=1157#comment-2904</guid>
		<description><![CDATA[thanksa lot for this article, i didn&#039;t know much about datetime object in php...]]></description>
		<content:encoded><![CDATA[<p>thanksa lot for this article, i didn&#8217;t know much about datetime object in php&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jordan Walker</title>
		<link>http://www.brandonsavage.net/cool-datetime-functions-in-php-5-3/#comment-2903</link>
		<dc:creator>Jordan Walker</dc:creator>
		<pubDate>Mon, 25 Jan 2010 13:59:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=1157#comment-2903</guid>
		<description><![CDATA[Thanks for the write up, was not away of this new object. Should make development that much better!]]></description>
		<content:encoded><![CDATA[<p>Thanks for the write up, was not away of this new object. Should make development that much better!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Thompson</title>
		<link>http://www.brandonsavage.net/cool-datetime-functions-in-php-5-3/#comment-2902</link>
		<dc:creator>Andy Thompson</dc:creator>
		<pubDate>Mon, 25 Jan 2010 07:56:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=1157#comment-2902</guid>
		<description><![CDATA[Yes, I started using DateTime recently because of its representation being better than using date strings, and it&#039;s ability to represent a much larger date range than unix timestamps.

On the Zend Framework contributors mailing list, there&#039;s a discussion at the moment of the possibility of scrapping Zend_Date or extending DateTime sometime in the future. Zend_Date uses mktime internally, so not as good.

Before PHP 5.3, you are able to run &quot;$date-&gt;format(&#039;U&#039;)&quot; and &quot;new DateTime(&#039;@&#039;.$timestamp)&quot;, rather than having to run the functions you mentioned.

Your diff example appears to be missing some code.]]></description>
		<content:encoded><![CDATA[<p>Yes, I started using DateTime recently because of its representation being better than using date strings, and it&#8217;s ability to represent a much larger date range than unix timestamps.</p>
<p>On the Zend Framework contributors mailing list, there&#8217;s a discussion at the moment of the possibility of scrapping Zend_Date or extending DateTime sometime in the future. Zend_Date uses mktime internally, so not as good.</p>
<p>Before PHP 5.3, you are able to run &#8220;$date-&gt;format(&#8216;U&#8217;)&#8221; and &#8220;new DateTime(&#8216;@&#8217;.$timestamp)&#8221;, rather than having to run the functions you mentioned.</p>
<p>Your diff example appears to be missing some code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark van der Velden</title>
		<link>http://www.brandonsavage.net/cool-datetime-functions-in-php-5-3/#comment-2901</link>
		<dc:creator>Mark van der Velden</dc:creator>
		<pubDate>Mon, 25 Jan 2010 07:53:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=1157#comment-2901</guid>
		<description><![CDATA[Hmm, using strip_tags() where you shouldn&#039;t be using them?
Attempt two: http://pastebin.com/f62cdf95f]]></description>
		<content:encoded><![CDATA[<p>Hmm, using strip_tags() where you shouldn&#8217;t be using them?<br />
Attempt two: <a href="http://pastebin.com/f62cdf95f" rel="nofollow">http://pastebin.com/f62cdf95f</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark van der Velden</title>
		<link>http://www.brandonsavage.net/cool-datetime-functions-in-php-5-3/#comment-2900</link>
		<dc:creator>Mark van der Velden</dc:creator>
		<pubDate>Mon, 25 Jan 2010 07:46:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=1157#comment-2900</guid>
		<description><![CDATA[Another fine DateTime feature is native comparing:

&lt;?php
$dateStart = new DateTime(&#039;yesterday&#039;);
$dateEnd = new DateTime(&#039;tomorrow&#039;);
if ($dateEnd ]]></description>
		<content:encoded><![CDATA[<p>Another fine DateTime feature is native comparing:</p>
<p>&lt;?php<br />
$dateStart = new DateTime(&#039;yesterday&#039;);<br />
$dateEnd = new DateTime(&#039;tomorrow&#039;);<br />
if ($dateEnd </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Les</title>
		<link>http://www.brandonsavage.net/cool-datetime-functions-in-php-5-3/#comment-2899</link>
		<dc:creator>Les</dc:creator>
		<pubDate>Mon, 25 Jan 2010 07:45:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=1157#comment-2899</guid>
		<description><![CDATA[For some (perverse?) reason I feel I had to wrap Date around my own classes to utilise the new functionality... maybe I just favour my own API?]]></description>
		<content:encoded><![CDATA[<p>For some (perverse?) reason I feel I had to wrap Date around my own classes to utilise the new functionality&#8230; maybe I just favour my own API?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hari K T</title>
		<link>http://www.brandonsavage.net/cool-datetime-functions-in-php-5-3/#comment-2898</link>
		<dc:creator>Hari K T</dc:creator>
		<pubDate>Mon, 25 Jan 2010 07:35:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=1157#comment-2898</guid>
		<description><![CDATA[Is there any code missing in second example ?
&lt;code&gt;
diff($dt2));
?&gt;
&lt;/code&gt;
I think there is some ;)]]></description>
		<content:encoded><![CDATA[<p>Is there any code missing in second example ?<br />
<code><br />
diff($dt2));<br />
?&gt;<br />
</code><br />
I think there is some ;)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: enhanced (User agent is rejected)
Object Caching 582/584 objects using apc
Content Delivery Network via Amazon Web Services: S3: brandonsavage-net-files.s3.amazonaws.com

 Served from: www.brandonsavage.net @ 2013-05-21 21:18:03 by W3 Total Cache -->