dontWatchMyProfile
dontWatchMyProfile

Reputation: 46310

Where to look up the date format specifiers used in cocoa / cocoa touch?

For example: [dateFormatter setDateFormat:@"yyyy-MM-DD HH:mm:ss"];

I guess there's a list somewhere that shows all those date format specifiers, but can't find any. The NSDateFormatter docs seem to not mention these.

Upvotes: 17

Views: 7030

Answers (1)

Jason Coco
Jason Coco

Reputation: 78363

It uses Unicode Technical Standard #35.

Also note: NSDateFormatter changes a lot with iOS 4, so make sure you read the documentation carefully.

Upvotes: 21

Related Questions