Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 270
dontWatchMyProfile Avatar asked Jun 19 '10 16:06

dontWatchMyProfile


1 Answers

It uses Unicode Technical Standard #35.

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

like image 74
Jason Coco Avatar answered Oct 10 '22 02:10

Jason Coco