MosheBerman / KosherCocoa

My Objective-C port of KosherJava. KosherCocoa enables you to perform sunrise-based and sunset-based calculations for Jewish prayer and calendar.
GNU Lesser General Public License v2.1
7 stars 3 forks source link

Question: Get hebrew date as string #11

Closed DanielSmith1239 closed 8 years ago

DanielSmith1239 commented 9 years ago

Hello, How would I go about getting the hebrew date as a string? The format I would like it in: (month day, year). I would just have an array of month names, and choose which one based on the "currentHebrewMonth" variable, but the fact that there are several different possible hebrew year lengths makes it a lot more complicated. Thanks!

MosheBerman commented 9 years ago

Look at the NSDateFormatter class.