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.
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.
It uses Unicode Technical Standard #35.
Also note: NSDateFormatter changes a lot with iOS 4, so make sure you read the documentation carefully.