gpt4 book ai didi

iphone - 如何将 facebook 发布/消息时间转换为正常 NSDate

转载 作者:塔克拉玛干 更新时间:2023-11-01 19:10:45 25 4
gpt4 key购买 nike

<分区>

Possible Duplicate:
Is there a simple way of converting an ISO8601 timestamp to a formatted NSDate?
How to convert string to date in objective-c?

如果我使用 read_mailbox 权限执行 requestForGrpahPath:@"me/inbox"然后我得到这个:

"data": [
{
"id": "XXXXXXXXXXXXXXXXX",
"from": {
"name": "XXXXXXXXXXXX",
"id": "XXXXXXXXXXXXXXX"
},
"message": "yeup!",
"created_time": "2012-12-03T10:28:21+0000" // how to convert this time to normal NSdate
},

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com