Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7773449
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T17:08:13+00:00 2026-06-01T17:08:13+00:00

I am trying to store recurrence event information into a database. I want to

  • 0

I am trying to store recurrence event information into a database. I want to store recorder into a a Database table with the following fields.

  • Start Date – Datetime
  • End Date – DateTime
  • RecurrencePattern – string

I wanted to see if there was already some standard format to store the RecurrencePattern in and an associated library to parse out this string recurrenPattern and a start / end date and convert into a set of dates. I see this exists for javascript so maybe a port to C# or something similar ?

To serialize the event to the db, do i really have to create a new iCalendar and serialize a calendar for each event ? Would there be a way to simply serialize the event by itself to the db using this library?

Updated question regarding DDay.iCal per Jon Skeet’s answer:

As per jon skeet’s suggestion, i started looking at DDay.iCal and it looks very good. My one follow up question is that it seems to only read a full ical (ics) at a time from disk in the example. In my case i am just storing events independently in a database table. What would be the best way:

  1. To read in these events from the DB
  2. To save independent events to the DB (each event is a row in a db table)

using this library?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T17:08:14+00:00Added an answer on June 1, 2026 at 5:08 pm

    There’s the DDay.iCal library. Can’t say I’ve used it, but that’s the one that a quick search for iCalendar and C# found… (iCalendar or RFC 5545 is where that Javascript format comes from.)

    In my experience with these things on other platforms, recurrences get complicated really quickly. If you can limit your scope from the start, you’ll have a much better change of success IMO.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to store today's date in a sqlite table as a string in
Hi I am trying to store names into an Oracle database and fetch them
I am trying to store the data from my sql database into an array.
I'm trying to store data from a MySQL table into an PHP array variable.
I'm trying to store data in the following fashion with a string as the
I trying to store the value of the input field tbEmail into str so
So I am trying to store an array of objects into localStorage, as follows:-
I am trying to store currency values in sqlite database in android. I don't
I am trying to store objects in session However, when I do the following,
I'm trying to store contents a tr in table #itemsTable, in array celValues and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.