does anyone know why i’m getting a null date value after putting this thru my date formatter?
//Sets expire date for listing to String
NSString *expireDate = [[_itemDetailArray valueForKey:@"expireDate"]description]; //returns my date correctly
NSString *formattedStringDate = [NSString stringWithFormat:@"%@",[formatter dateFromString:expireDate]]; //comes out null
Any ideas why?
Your formatter’s format is wrong. Try with this