开发者

Converting a time_t to NSDate object?

开发者 https://www.devze.com 2023-01-01 16:22 出处:网络
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

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

精彩评论

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