<?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/"
		>
<channel>
	<title>Comments on: Give Your Visitors a Rough Time</title>
	<atom:link href="http://www.sitepoint.com/blogs/2008/03/06/give-you-visitors-a-rough-time/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sitepoint.com/blogs/2008/03/06/give-you-visitors-a-rough-time/</link>
	<description>News, opinion, and fresh thinking for web developers and designers. The official podcast of sitepoint.com.</description>
	<lastBuildDate>Sun, 22 Nov 2009 11:54:05 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: franglix</title>
		<link>http://www.sitepoint.com/blogs/2008/03/06/give-you-visitors-a-rough-time/comment-page-1/#comment-653965</link>
		<dc:creator>franglix</dc:creator>
		<pubDate>Thu, 13 Mar 2008 20:59:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/2008/03/06/give-you-visitors-a-rough-time/#comment-653965</guid>
		<description>I think it&#039;s a nice idea, gives a rather relaxed tone - perhaps ideal for a blog.  I will give it a try... Thanks.</description>
		<content:encoded><![CDATA[<p>I think it&#8217;s a nice idea, gives a rather relaxed tone &#8211; perhaps ideal for a blog.  I will give it a try&#8230; Thanks.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.sitepoint.com/blogs/2008/03/06/give-you-visitors-a-rough-time/comment-page-1/#comment-649424</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 07 Mar 2008 09:15:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/2008/03/06/give-you-visitors-a-rough-time/#comment-649424</guid>
		<description>A rough time is often really handy, but while we&#039;re all for approximations I find relative times are even more helpful - e.g. &quot;three hours ago&quot;, &quot;twenty minutes ago&quot;, &quot;yesterday&quot;. Gmail does this a lot, and it really helps when working with threaded lists of messages (e.g. emails, forum posts, even comments like these). I put together a little script that achieves the basics of this -- see my post on &lt;a href=&quot;http://www.developertutorials.com/blog/php/give-your-visitors-relative-time-php-69/&quot; rel=&quot;nofollow&quot;&gt;relative times in PHP&lt;/a&gt; for more details.</description>
		<content:encoded><![CDATA[<p>A rough time is often really handy, but while we&#8217;re all for approximations I find relative times are even more helpful &#8211; e.g. &#8220;three hours ago&#8221;, &#8220;twenty minutes ago&#8221;, &#8220;yesterday&#8221;. Gmail does this a lot, and it really helps when working with threaded lists of messages (e.g. emails, forum posts, even comments like these). I put together a little script that achieves the basics of this &#8212; see my post on <a href="http://www.developertutorials.com/blog/php/give-your-visitors-relative-time-php-69/" rel="nofollow">relative times in PHP</a> for more details.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymously</title>
		<link>http://www.sitepoint.com/blogs/2008/03/06/give-you-visitors-a-rough-time/comment-page-1/#comment-648875</link>
		<dc:creator>Anonymously</dc:creator>
		<pubDate>Thu, 06 Mar 2008 19:28:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/2008/03/06/give-you-visitors-a-rough-time/#comment-648875</guid>
		<description>Nice idea but just how helpful is it?

I get the idea that it&#039;s just going to confuse, maybe even scare the hell out of your visitors. Maybe you have forgotten the reasons behind displaying the date and time in a set format?

It&#039;s because it is uniform, it can be read and understood by just about every living person on the planet, no? Now your suggesting this approach?

The Dr.</description>
		<content:encoded><![CDATA[<p>Nice idea but just how helpful is it?</p>
<p>I get the idea that it&#8217;s just going to confuse, maybe even scare the hell out of your visitors. Maybe you have forgotten the reasons behind displaying the date and time in a set format?</p>
<p>It&#8217;s because it is uniform, it can be read and understood by just about every living person on the planet, no? Now your suggesting this approach?</p>
<p>The Dr.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: captain grammar</title>
		<link>http://www.sitepoint.com/blogs/2008/03/06/give-you-visitors-a-rough-time/comment-page-1/#comment-648690</link>
		<dc:creator>captain grammar</dc:creator>
		<pubDate>Thu, 06 Mar 2008 16:11:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/2008/03/06/give-you-visitors-a-rough-time/#comment-648690</guid>
		<description>neat script.

I have one improvement:

change:
echo &#039;Its &#039;.$roughTime;

to:
echo &#039;It\&#039;s &#039;.$roughTime;</description>
		<content:encoded><![CDATA[<p>neat script.</p>
<p>I have one improvement:</p>
<p>change:<br />
echo &#8216;Its &#8216;.$roughTime;</p>
<p>to:<br />
echo &#8216;It\&#8217;s &#8216;.$roughTime;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: jc</title>
		<link>http://www.sitepoint.com/blogs/2008/03/06/give-you-visitors-a-rough-time/comment-page-1/#comment-648680</link>
		<dc:creator>jc</dc:creator>
		<pubDate>Thu, 06 Mar 2008 16:05:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/2008/03/06/give-you-visitors-a-rough-time/#comment-648680</guid>
		<description>I would argue it takes more effort to think through someone verbally saying &quot;12:24:13 AM&quot; than someone saying &quot;nearly twelve thirty&quot;, and it takes more effort to read and think through &quot;nearly twelve thirty&quot; than &quot;12:24 PM&quot;</description>
		<content:encoded><![CDATA[<p>I would argue it takes more effort to think through someone verbally saying &#8220;12:24:13 AM&#8221; than someone saying &#8220;nearly twelve thirty&#8221;, and it takes more effort to read and think through &#8220;nearly twelve thirty&#8221; than &#8220;12:24 PM&#8221;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: brent5392</title>
		<link>http://www.sitepoint.com/blogs/2008/03/06/give-you-visitors-a-rough-time/comment-page-1/#comment-648493</link>
		<dc:creator>brent5392</dc:creator>
		<pubDate>Thu, 06 Mar 2008 12:09:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/2008/03/06/give-you-visitors-a-rough-time/#comment-648493</guid>
		<description>I like it, I really do =P
May very well use it in the future.
Maybe it might be a good idea just to include the time (hours and minutes) after it just for anyone who would like to know the exact time. Keeps everyone happy =)</description>
		<content:encoded><![CDATA[<p>I like it, I really do =P<br />
May very well use it in the future.<br />
Maybe it might be a good idea just to include the time (hours and minutes) after it just for anyone who would like to know the exact time. Keeps everyone happy =)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: mattymcg</title>
		<link>http://www.sitepoint.com/blogs/2008/03/06/give-you-visitors-a-rough-time/comment-page-1/#comment-648443</link>
		<dc:creator>mattymcg</dc:creator>
		<pubDate>Thu, 06 Mar 2008 11:04:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/2008/03/06/give-you-visitors-a-rough-time/#comment-648443</guid>
		<description>@Joshua Paine: Paul was only able to edit his comment because he&#039;s an admin. I updated yours -- yes, we know, the blog comment system is less than optimal.

@Toby: Nice one. Obviously not appropriate in every instance, but there are probably a few places here on SitePoint where it might be worth considering.</description>
		<content:encoded><![CDATA[<p>@Joshua Paine: Paul was only able to edit his comment because he&#8217;s an admin. I updated yours &#8212; yes, we know, the blog comment system is less than optimal.</p>
<p>@Toby: Nice one. Obviously not appropriate in every instance, but there are probably a few places here on SitePoint where it might be worth considering.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Stormrider</title>
		<link>http://www.sitepoint.com/blogs/2008/03/06/give-you-visitors-a-rough-time/comment-page-1/#comment-648398</link>
		<dc:creator>Stormrider</dc:creator>
		<pubDate>Thu, 06 Mar 2008 10:06:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/2008/03/06/give-you-visitors-a-rough-time/#comment-648398</guid>
		<description>Nice idea. The division of the hour is strange though. It is &#039;just gone x&#039; right up until 14 minutes past, but only at 15 minutes past do you get &#039;quarter past x&#039;. Then on the other side, is &#039;quarter to x+1&#039; from 40 to 50 minutes past.</description>
		<content:encoded><![CDATA[<p>Nice idea. The division of the hour is strange though. It is &#8216;just gone x&#8217; right up until 14 minutes past, but only at 15 minutes past do you get &#8216;quarter past x&#8217;. Then on the other side, is &#8216;quarter to x+1&#8242; from 40 to 50 minutes past.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua Paine</title>
		<link>http://www.sitepoint.com/blogs/2008/03/06/give-you-visitors-a-rough-time/comment-page-1/#comment-648184</link>
		<dc:creator>Joshua Paine</dc:creator>
		<pubDate>Thu, 06 Mar 2008 05:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/2008/03/06/give-you-visitors-a-rough-time/#comment-648184</guid>
		<description>I swear I&#039;ve been able to edit comments on here before, and Paul obviously did, but I can&#039;t seem to get back in to my message to fix the code formatting or correct my JavaScript-style array creation. (Obviously it should have been array(&#039;twelve&#039;,&#039;one&#039;...).)</description>
		<content:encoded><![CDATA[<p>I swear I&#8217;ve been able to edit comments on here before, and Paul obviously did, but I can&#8217;t seem to get back in to my message to fix the code formatting or correct my JavaScript-style array creation. (Obviously it should have been array(&#8217;twelve&#8217;,'one&#8217;&#8230;).)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Annesley</title>
		<link>http://www.sitepoint.com/blogs/2008/03/06/give-you-visitors-a-rough-time/comment-page-1/#comment-648178</link>
		<dc:creator>Paul Annesley</dc:creator>
		<pubDate>Thu, 06 Mar 2008 05:21:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/2008/03/06/give-you-visitors-a-rough-time/#comment-648178</guid>
		<description>I&#039;m not much of a &lt;a href=&quot;http://codegolf.com/&quot; rel=&quot;nofollow&quot;&gt;golfer&lt;/a&gt;, but you could save yourself a few lines like so... :)

&lt;pre&gt;&lt;code class=&quot;php&quot;&gt;
function numberToWord($number)
{
	$numbers = array(null, &#039;one&#039;, &#039;two&#039;, &#039;three&#039;, &#039;four&#039;, &#039;five&#039;, &#039;six&#039;,
		&#039;seven&#039;, &#039;eight&#039;, &#039;nine&#039;, &#039;ten&#039;, &#039;eleven&#039;, &#039;twelve&#039;, &#039;one&#039;);
	return isset($numbers[$number]) ? $numbers[$number] : &#039;twelve&#039;;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;em&gt;Edit: beaten to it by Joshua&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>I&#8217;m not much of a <a href="http://codegolf.com/" rel="nofollow">golfer</a>, but you could save yourself a few lines like so&#8230; :)</p>
<pre><code class="php">
function numberToWord($number)
{
	$numbers = array(null, 'one', 'two', 'three', 'four', 'five', 'six',
		'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'one');
	return isset($numbers[$number]) ? $numbers[$number] : 'twelve';
}
</code></pre>
<p><em>Edit: beaten to it by Joshua</em></p>]]></content:encoded>
	</item>
</channel>
</rss>
