Getting number of days between [NSDate date] and string @"2010-11-12"
- by grobald
Hello
i have a question.
in short: i need a function which receives [NSDate date] and string @"2010-11-12" and returns the amount of days between those two dates.
more explanation:
I need to store a date from a server in the format @"2010-11-12" in my NSUserdefaults. The meaning of this date is the expireDate of a feature in an iPhone App.…