Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 将 NSDate 转换为 NSString
更新:重复问题的直接答案在哪里?请提供此答案的链接。
如何像这样将 NSDate 转换为 NSString
2012-10-17T10:13:15.343+02:00
所以类似这样的东西:“yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'”
更多信息:日期格式指南-日期