I\'m getting this exception when I try to JSON encode NSDate object.I believe NSDate is not compatible for JSON encoding. but I must encode the date.Any solutions?
You must convert the date to a string before you try to encode it. There are enough examples everywhere so it should be easy to find