Following CAML Query is giving me all the events for the upcoming two weeks. Does anyone have an idea how to convert the part [Today+14Day(s)] correctly when using the SPQuery class syntax to use the query in my code behind visual web part (http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spquery.aspx)
<'Query>
<'Where>
<'And>
<'Lt>
<'FieldRef Name='EventDate' />
<'Value Type='DateTime'>[Today+14Day(s)]<'/Value>
<'/Lt>
<'Geq>
<'FieldRef Name='EventDate' />
<'Value Type='DateTime'>[Today]
<'/Geq>
<'/And>
<'/Where>
<'/Query>