Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculating which recurring events happen in a date range
Message
From
17/06/2010 22:14:42
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
LINQ
Title:
Calculating which recurring events happen in a date range
Miscellaneous
Thread ID:
01469538
Message ID:
01469538
Views:
132
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...
Very fitting: http://xkcd.com/386/
Next
Reply
Map
View

Click here to load this message in the networking platform