IPhone SDK – NSDateFormatter day + month

iphonensdateformatter

I would like to display only the day and month of a date. Basically the NSDateFormatterLongStyle but without the year.

The problem I'm facing is the localization. In the english version it has to show for example 'January 14' and in french '14 Janvier'.

Is there an easy way to print such dates? Or do I have use ifelse statements for checking the current locale and set the day before or after the month?

Thanks in advance for your help.

Best Answer

Check out this question..... I had have the same issue before but have solved it by using the dateFormat not the dateStyle