<?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:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"	>
<channel>
	<title>Comments on: Calculate Weekdays Between Two Dates</title>
	<atom:link href="http://www.ideaexcursion.com/2008/09/24/calculate-weekdays-between-two-dates/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ideaexcursion.com/2008/09/24/calculate-weekdays-between-two-dates/</link>
	<description>Technology Musings</description>
	<lastBuildDate>Sat, 04 Sep 2010 18:38:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Taylor Gerring</title>
		<link>http://www.ideaexcursion.com/2008/09/24/calculate-weekdays-between-two-dates/comment-page-1/#comment-165</link>
		<dc:creator>Taylor Gerring</dc:creator>
		<pubDate>Mon, 13 Apr 2009 17:59:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.ideaexcursion.com/?p=37#comment-165</guid>
		<description>Hrm, interesting bug. I&#039;ve updated the code to correct this particular condition.</description>
		<content:encoded><![CDATA[<p>Hrm, interesting bug. I&#8217;ve updated the code to correct this particular condition.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Todd</title>
		<link>http://www.ideaexcursion.com/2008/09/24/calculate-weekdays-between-two-dates/comment-page-1/#comment-162</link>
		<dc:creator>Todd</dc:creator>
		<pubDate>Mon, 06 Apr 2009 16:18:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.ideaexcursion.com/?p=37#comment-162</guid>
		<description>This doesn&#039;t seem work if the @startdate is a Sunday.

for ex:

  select dbo.fn_WeekdayDiff(&#039;2009-03-22&#039;, &#039;2009-03-22&#039;)
      -- should return 0, returns 1

  select dbo.fn_WeekdayDiff(&#039;2009-03-22&#039;, &#039;2009-04-07&#039;)
      -- should return 12, returns 13</description>
		<content:encoded><![CDATA[<p>This doesn&#8217;t seem work if the @startdate is a Sunday.</p>
<p>for ex:</p>
<p>  select dbo.fn_WeekdayDiff(&#8217;2009-03-22&#8242;, &#8217;2009-03-22&#8242;)<br />
      &#8212; should return 0, returns 1</p>
<p>  select dbo.fn_WeekdayDiff(&#8217;2009-03-22&#8242;, &#8217;2009-04-07&#8242;)<br />
      &#8212; should return 12, returns 13</p>
]]></content:encoded>
	</item>
</channel>
</rss>
