Should I store dates or recurrence rules in my database when building a calendar app?
I am building a calendar website ( ASP.NET MVC ) application (think simple version of outlook) and i want to start supporting calendar events that are recurring (monthly, yearly, etc) right now I am storing actual dates in my but I wanted to figure out if, with recurrence, does it make sense to continue to store dates (with some obvious cutoff), or should I store the recurrence options and generate the dates on the fly. It got me thinking how outlook, google mail, etc does this or any other service that supports recurring calendar items. Are there any suggestions on this? Separate your data