<?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: Easily Getting Last Two Digits of Year</title>
	<atom:link href="http://www.philosophicalgeek.com/2007/11/02/easily-getting-last-two-digits-of-year/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.philosophicalgeek.com/2007/11/02/easily-getting-last-two-digits-of-year/</link>
	<description>Code and musings by Ben Watson</description>
	<lastBuildDate>Sat, 04 Feb 2012 04:16:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: nec</title>
		<link>http://www.philosophicalgeek.com/2007/11/02/easily-getting-last-two-digits-of-year/comment-page-1/#comment-24153</link>
		<dc:creator>nec</dc:creator>
		<pubDate>Sun, 04 Nov 2007 02:03:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.philosophicalgeek.com/2007/11/02/easily-getting-last-two-digits-of-year/#comment-24153</guid>
		<description>yeah, i know. just pointing out that it&#039;s not a single expression as i see that post as a tutorial.</description>
		<content:encoded><![CDATA[<p>yeah, i know. just pointing out that it&#8217;s not a single expression as i see that post as a tutorial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pepethecow</title>
		<link>http://www.philosophicalgeek.com/2007/11/02/easily-getting-last-two-digits-of-year/comment-page-1/#comment-24149</link>
		<dc:creator>pepethecow</dc:creator>
		<pubDate>Sun, 04 Nov 2007 01:04:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.philosophicalgeek.com/2007/11/02/easily-getting-last-two-digits-of-year/#comment-24149</guid>
		<description>nec, to get the zero, in the formatted output you will have to pad it. In C, it would be:

printf(&quot;%02d&quot;, lastTwo);

Suppose you have 2027 %100. Then the answer is, correctly, 27.</description>
		<content:encoded><![CDATA[<p>nec, to get the zero, in the formatted output you will have to pad it. In C, it would be:</p>
<p>printf(&#8220;%02d&#8221;, lastTwo);</p>
<p>Suppose you have 2027 %100. Then the answer is, correctly, 27.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nec</title>
		<link>http://www.philosophicalgeek.com/2007/11/02/easily-getting-last-two-digits-of-year/comment-page-1/#comment-24136</link>
		<dc:creator>nec</dc:creator>
		<pubDate>Sat, 03 Nov 2007 21:52:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.philosophicalgeek.com/2007/11/02/easily-getting-last-two-digits-of-year/#comment-24136</guid>
		<description>int lastTwo = year % 100;

this doesn&#039;t give the last two digits. For 2007, i want 07 but the operation will give me 7.</description>
		<content:encoded><![CDATA[<p>int lastTwo = year % 100;</p>
<p>this doesn&#8217;t give the last two digits. For 2007, i want 07 but the operation will give me 7.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

