views:

51

answers:

1

I need a representation of the current user's preferred date+time format, like for example: @"yyyy-MM-dd'T'HH:mm:ssZ"

Or in other words: When I print out a NSDate nicely compatible to the preferred locale of the user, then I need that format in string representation as Unicode Standard symbols like in the example above. Is there a way to get this information out from the user's locale?

A: 

Take a look at NSLocale & NSCalendar & NSDateFormatter...

Meltemi