Reputation: 96391
I'd like to calculate how many "days, minutes, second" are left until some date. How might one do this using Objective-C?
Upvotes: 0
Views: 421
Reputation: 16139
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.
Upvotes: 2