简体   繁体   English

iphone NSDate NSDateFormatter转换为ceratin格式

[英]iphone NSDate NSDateFormatter to a ceratin format

i want to convert my NSDate to a certain format which is: 我想将我的NSDate转换为某种格式,即:

"Wednesday, December, 2, 2009" “ 2009年12月2日,星期三”

does anybody know what is the corresponding format string to that date example? 有人知道该日期示例对应的格式字符串是什么吗?

appreciate your help! 感谢您的帮助!

在此处查找日期格式语法,看起来您需要的是@“%A,%B,%d,%Y”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM