You have in your code:
[formatter setDateFormat:@"yyyy-MMM-dd HH:mm"];
But your string needs the following:
[formatter setDateFormat:@"yyyy-MM-dd HH:mm:ss"];
2
solved NSDateFormatter dateFromString returns null value [closed]
You have in your code:
[formatter setDateFormat:@"yyyy-MMM-dd HH:mm"];
But your string needs the following:
[formatter setDateFormat:@"yyyy-MM-dd HH:mm:ss"];
2
solved NSDateFormatter dateFromString returns null value [closed]