<?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: Time for strftime</title>
	<atom:link href="http://www.nullislove.com/2007/05/16/time-for-strftime/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nullislove.com/2007/05/16/time-for-strftime/</link>
	<description>Code for Coders</description>
	<pubDate>Sun, 14 Mar 2010 00:58:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Time parsing issue &#8211; Afraha &#124; Our Own Tiny Planet</title>
		<link>http://www.nullislove.com/2007/05/16/time-for-strftime/comment-page-1/#comment-2237</link>
		<dc:creator>Time parsing issue &#8211; Afraha &#124; Our Own Tiny Planet</dc:creator>
		<pubDate>Sat, 11 Jul 2009 15:27:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.nullislove.com/?p=49#comment-2237</guid>
		<description>[...] Time parsing issue    2009/7/11 Älphä Blüë : &gt; &gt; I had been looking at: &gt; &gt; http://www.nullislove.com/2007/05/16/time-for-strftime/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Time parsing issue    2009/7/11 Älphä Blüë : &gt; &gt; I had been looking at: &gt; &gt; <a href="http://www.nullislove.com/2007/05/16/time-for-strftime/" rel="nofollow">http://www.nullislove.com/2007/05/16/time-for-strftime/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Istikopoulos</title>
		<link>http://www.nullislove.com/2007/05/16/time-for-strftime/comment-page-1/#comment-2233</link>
		<dc:creator>Bill Istikopoulos</dc:creator>
		<pubDate>Tue, 07 Jul 2009 13:06:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.nullislove.com/?p=49#comment-2233</guid>
		<description>Right, I guess one could add the time difference according to the country of the visitor. Thanks for clarifying that.</description>
		<content:encoded><![CDATA[<p>Right, I guess one could add the time difference according to the country of the visitor. Thanks for clarifying that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Skoglund</title>
		<link>http://www.nullislove.com/2007/05/16/time-for-strftime/comment-page-1/#comment-2231</link>
		<dc:creator>Kevin Skoglund</dc:creator>
		<pubDate>Mon, 06 Jul 2009 16:59:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.nullislove.com/?p=49#comment-2231</guid>
		<description>A timestamp can be either for the server or the client.  When you call time() or Time.now(), you are getting the server time.  You would need to adjust that time if you wanted to localize it for a client abroad.</description>
		<content:encoded><![CDATA[<p>A timestamp can be either for the server or the client.  When you call time() or Time.now(), you are getting the server time.  You would need to adjust that time if you wanted to localize it for a client abroad.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Istikopoulos</title>
		<link>http://www.nullislove.com/2007/05/16/time-for-strftime/comment-page-1/#comment-2230</link>
		<dc:creator>Bill Istikopoulos</dc:creator>
		<pubDate>Sat, 04 Jul 2009 08:40:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.nullislove.com/?p=49#comment-2230</guid>
		<description>Thanks for this great guide.

I just have a quick question. Is the timestamp grabbed from the server or the client? Could be a problem if it's server time and the app is hosted abroad.</description>
		<content:encoded><![CDATA[<p>Thanks for this great guide.</p>
<p>I just have a quick question. Is the timestamp grabbed from the server or the client? Could be a problem if it&#8217;s server time and the app is hosted abroad.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://www.nullislove.com/2007/05/16/time-for-strftime/comment-page-1/#comment-2217</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Mon, 22 Jun 2009 15:50:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.nullislove.com/?p=49#comment-2217</guid>
		<description>%u does not work in Ruby it seems.</description>
		<content:encoded><![CDATA[<p>%u does not work in Ruby it seems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Skoglund</title>
		<link>http://www.nullislove.com/2007/05/16/time-for-strftime/comment-page-1/#comment-1364</link>
		<dc:creator>Kevin Skoglund</dc:creator>
		<pubDate>Thu, 19 Feb 2009 15:21:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.nullislove.com/?p=49#comment-1364</guid>
		<description>@danielvw: That is the correct way to solve it.  Or just don't let it be null to start with.  ;-)</description>
		<content:encoded><![CDATA[<p>@danielvw: That is the correct way to solve it.  Or just don&#8217;t let it be null to start with.  <img src='http://www.nullislove.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: danielvw</title>
		<link>http://www.nullislove.com/2007/05/16/time-for-strftime/comment-page-1/#comment-1363</link>
		<dc:creator>danielvw</dc:creator>
		<pubDate>Thu, 19 Feb 2009 12:50:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.nullislove.com/?p=49#comment-1363</guid>
		<description>dear kevin,

timestring = timestamp.strftime("The date is %m/%d/%y") will result an error if the "timestamp" is null.

i overcome it with this code:
if timestamp
timestring = timestamp.strftime("The date is %m/%d/%y")
end

it solved the problem, but is there any smarter way to do this?;p

thanks before.</description>
		<content:encoded><![CDATA[<p>dear kevin,</p>
<p>timestring = timestamp.strftime(&#8221;The date is %m/%d/%y&#8221;) will result an error if the &#8220;timestamp&#8221; is null.</p>
<p>i overcome it with this code:<br />
if timestamp<br />
timestring = timestamp.strftime(&#8221;The date is %m/%d/%y&#8221;)<br />
end</p>
<p>it solved the problem, but is there any smarter way to do this?;p</p>
<p>thanks before.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Skoglund</title>
		<link>http://www.nullislove.com/2007/05/16/time-for-strftime/comment-page-1/#comment-1311</link>
		<dc:creator>Kevin Skoglund</dc:creator>
		<pubDate>Sun, 23 Nov 2008 17:07:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.nullislove.com/?p=49#comment-1311</guid>
		<description>Excellent tip, Brian.  Thanks!</description>
		<content:encoded><![CDATA[<p>Excellent tip, Brian.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Mulloy</title>
		<link>http://www.nullislove.com/2007/05/16/time-for-strftime/comment-page-1/#comment-1310</link>
		<dc:creator>Brian Mulloy</dc:creator>
		<pubDate>Thu, 20 Nov 2008 07:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.nullislove.com/?p=49#comment-1310</guid>
		<description>fyi, DateTime objects support stripping leading zeros.  It looks like this:

timestamp = DateTime.now()
timestring = timestamp.strftime("The date is %-1m/%-1d/%y")

-b</description>
		<content:encoded><![CDATA[<p>fyi, DateTime objects support stripping leading zeros.  It looks like this:</p>
<p>timestamp = DateTime.now()<br />
timestring = timestamp.strftime(&#8221;The date is %-1m/%-1d/%y&#8221;)</p>
<p>-b</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zaheer M K</title>
		<link>http://www.nullislove.com/2007/05/16/time-for-strftime/comment-page-1/#comment-1272</link>
		<dc:creator>Zaheer M K</dc:creator>
		<pubDate>Thu, 04 Sep 2008 18:37:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.nullislove.com/?p=49#comment-1272</guid>
		<description>Hi Kevin Skoglund, Excellent! It was very nice of you to put this together and also offer a file for download for offline use. Thank you so much. And keep going!</description>
		<content:encoded><![CDATA[<p>Hi Kevin Skoglund, Excellent! It was very nice of you to put this together and also offer a file for download for offline use. Thank you so much. And keep going!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
