开发者

How to calculate "time until date"?

开发者 https://www.devze.com 2023-04-11 15:11 出处:网络
I\'d like to calculate how many \"da开发者_运维问答ys, minutes, second\" are left until some date. How might one do this using Objective-C?You don\'t mention the exact environment you\'re in, but I\'l

I'd like to calculate how many "da开发者_运维问答ys, minutes, second" are left until some date. How might one do this using Objective-C?


You don't mention the exact environment you're in, but I'll assume you have access to the Foundation framework. I think you want to review Calculating Temporal Differences from the Date and Time Programming Guide.

0

精彩评论

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