>I was going to do some ugly processing with loops, but I figured maybe Linq could help me out.
>
>RecurringEvents
>ID (PK)
>StartDate (datetime)
>RecurrenceDays (int)
>
>How can I calculate which of these recurring events happen within a specified date range. Linq's gotta have some sexy method that will do this easily...
I came across this not long ago when I was searching for a way to rewrite recurring event code from VFP to C# (rewriting a message scheduler module):
http://www.xdevsoftware.com/blog/post/Recurring-Events-in-ASPNET.aspxand there was this:
http://web1.codeproject.com/KB/macros/iCalendar1.aspx?msg=3148502Those are the only two links I have here. I have more on my other machine...
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"