Possible Duplicate:
How can I calculate the difference between two dates?
NSDate, comparing two dates
I have got two dates. How to check if theres a difference of 30 days in between them? I actually have an In-App purchase which needs to be disabled after every 30-days of purchase. When the user buys the feature, the Date is saved and so I need to check the dates. If 30-days have passed, I need to disable the feature again.