开发者

Converting a time_t to NSDate object?

Is there any method provided by Apple or any technique that can convert a time_t type variabl开发者_如何学Pythone to an NSDate object?


NSDate *someDate = [NSDate dateWithTimeIntervalSince1970:some_time_t]

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜