开发者

Time Format Documentation [closed]

开发者 https://www.devze.com 2023-03-02 14:06 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 years ago.

Improve this question

I am trying to convert the Twitter created_At timestamp to another timestamp using NSDateFormatter. However it took me a while to work out the date style for the timestamp.

Is there any documentati开发者_开发百科on out there than includes all the codes/date styles that can be used with the NSDateFormatter?

P.S. Anyone that needs the style it is: eee MMM dd HH:mm:ss ZZZZ yyyy.


Two pieces of documentation to check out. The first is the Date Formatting Guide. It gives an overview of all of the options and uses. The other thing to check out is the Unicode Technical Standard #35. It's what NSDateFormatter uses for the formatting patterns and lists out what all the different date field symbols are.

0

精彩评论

暂无评论...
验证码 换一张
取 消