<?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: Bad, bad, bad algorithm!</title>
	<atom:link href="http://easyquestion.net/thinkagain/2010/01/27/a-bad-bad-algorithm/feed/" rel="self" type="application/rss+xml" />
	<link>http://easyquestion.net/thinkagain/2010/01/27/a-bad-bad-algorithm/</link>
	<description>mathematical dialogues aimed to confuse</description>
	<lastBuildDate>Wed, 07 Mar 2012 22:43:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Jan Nordgreen</title>
		<link>http://easyquestion.net/thinkagain/2010/01/27/a-bad-bad-algorithm/#comment-43075</link>
		<dc:creator>Jan Nordgreen</dc:creator>
		<pubDate>Thu, 28 Jan 2010 00:48:54 +0000</pubDate>
		<guid isPermaLink="false">http://easyquestion.net/thinkagain/?p=2645#comment-43075</guid>
		<description>If the subtraction gives number of days then it is not trivial to subtract year, month, and day as the months do not all have 30 days.</description>
		<content:encoded><![CDATA[<p>If the subtraction gives number of days then it is not trivial to subtract year, month, and day as the months do not all have 30 days.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Maguire</title>
		<link>http://easyquestion.net/thinkagain/2010/01/27/a-bad-bad-algorithm/#comment-43053</link>
		<dc:creator>Michael Maguire</dc:creator>
		<pubDate>Wed, 27 Jan 2010 19:19:47 +0000</pubDate>
		<guid isPermaLink="false">http://easyquestion.net/thinkagain/?p=2645#comment-43053</guid>
		<description>This is too complicated.  Most languages have date/time constructs that deal with this elegantly.

DateTime chkdate = new DateTime(2010,1,27);
DateTime bdate = new DateTime(1969,7,16);

Then just subtract one from the other and extract the year, month, and day from the resulting number.</description>
		<content:encoded><![CDATA[<p>This is too complicated.  Most languages have date/time constructs that deal with this elegantly.</p>
<p>DateTime chkdate = new DateTime(2010,1,27);<br />
DateTime bdate = new DateTime(1969,7,16);</p>
<p>Then just subtract one from the other and extract the year, month, and day from the resulting number.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

