[Solved] NSDateFormatter dateFromString returns null value [closed]

[ad_1]

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

[ad_2]

solved NSDateFormatter dateFromString returns null value [closed]