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

青春壹個敷衍的年華 提交于 2019-12-13 11:38:45

问题


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.


回答1:


It uses Unicode Technical Standard #35.

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



来源:https://stackoverflow.com/questions/3076370/where-to-look-up-the-date-format-specifiers-used-in-cocoa-cocoa-touch

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!