在哪里查找 cocoa / cocoa touch 中使用的日期格式说明符?

发布于 2024-09-06 06:20:46 字数 146 浏览 0 评论 0原文

例如: [dateFormatter setDateFormat:@"yyyy-MM-DD HH:mm:ss"];

我想某个地方有一个列表显示所有这些日期格式说明符,但找不到任何。 NSDateFormatter 文档似乎没有提到这些。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夏の忆 2024-09-13 06:20:46

它使用 Unicode 技术标准 #35

另请注意:NSDateFormatter 在 iOS 4 中发生了很大变化,因此请务必仔细阅读文档。

It uses Unicode Technical Standard #35.

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文