I am along the way of creating a Persian Calendar application for Persian customers. I'm wondering if I must create a database to keep all of the days or perhaps is there an formula to create the calendar?

thanks

You would employ a database (or some kind of local storage) to keep the occasions around the calendar. You shouldn't have to store days with no occasions. A fast Search switched up several sites with explanations from the calendar - it appears just like a very straightforward formula.

The NSLocale class includes a NSPersianCalendar key will produce a Persian calendar with NSCalendar. It states it's supported in 10.6 but does not mention apple iphone so may possibly not be accessible.

Regardless, make certain you utilize a examined formula produced by specialist. Calendar information are stealthily complex and error prone.