strtotime -> NSDate
is there a way to convert strtotime-like Strings (e.g.: '-3 days' with a 开发者_JAVA百科given date) with NSDate?
See NSDate's +dateWithNaturalLanguageString:. I'm not sure how much "natural language" is supported (such as the "-3 days" example you give), but it's your best bet.
精彩评论