<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>FuGeRTech &#187; event</title>
	<atom:link href="http://fugertech.com/tag/event/feed/" rel="self" type="application/rss+xml" />
	<link>http://fugertech.com</link>
	<description>Enduring, Sustainable Results</description>
	<lastBuildDate>Mon, 10 Jan 2011 23:09:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SharePoint: Recurring Events on Calendars</title>
		<link>http://fugertech.com/2008/11/21/sharepoint-recurring-events-on-calendars/</link>
		<comments>http://fugertech.com/2008/11/21/sharepoint-recurring-events-on-calendars/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 18:48:57 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[event]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[recurring]]></category>
		<category><![CDATA[WSS 3.0]]></category>

		<guid isPermaLink="false">http://www.fugertech.com/?p=60</guid>
		<description><![CDATA[While I am in the blogging mood today, I thought I would share a very helpful link. I was trying to figure out the proper way to retrieve the latest recurring events based on the current month. I Googled around for a bit before stumbling upon this: http://blogs.msdn.com/sharepoint/archive/2007/05/14/understanding-the-sharepoint-calendar-and-how-to-export-it-to-ical-format.aspx The key point is the query used: <a href='http://fugertech.com/2008/11/21/sharepoint-recurring-events-on-calendars/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>While I am in the blogging mood today, I thought I would share a very helpful link. I was trying to figure out the proper way to retrieve the latest recurring events based on the current month. I Googled around for a bit before stumbling upon this:</p>
<p><a href="http://blogs.msdn.com/sharepoint/archive/2007/05/14/understanding-the-sharepoint-calendar-and-how-to-export-it-to-ical-format.aspx">http://blogs.msdn.com/sharepoint/archive/2007/05/14/understanding-the-sharepoint-calendar-and-how-to-export-it-to-ical-format.aspx</a></p>
<p>The key point is the query used:</p>
<p><code>SPQuery query = new SPQuery();<br />
query.ExpandRecurrence = true;<br />
query.Query =<br />
    "&lt;Where&gt;" +<br />
        "&lt;DateRangesOverlap&gt;" +<br />
            "&lt;FieldRef Name='EventDate' /&gt;" +<br />
            "&lt;FieldRef Name='EndDate' /&gt;" +<br />
            "&lt;FieldRef Name='RecurrenceID' /&gt;" +<br />
            "&lt;Value Type='DateTime'&gt;&lt;Month /&gt;&lt;/Value&gt;" +<br />
        "&lt;/DateRangesOverlap&gt;" +<br />
    "&lt;/Where&gt;";<br />
// Look forward from the beginning of the current month<br />
query.CalendarDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1); </code></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ffugertech.com%2F2008%2F11%2F21%2Fsharepoint-recurring-events-on-calendars%2F&amp;title=SharePoint%3A%20Recurring%20Events%20on%20Calendars" id="wpa2a_2">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://fugertech.com/2008/11/21/sharepoint-recurring-events-on-calendars/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

