iphone - Convert NSString to NSDate returns (null) value -
I have a date in the string format " but it is giving me a redundant date is what The issue? Use: You have time in 24 hour format, so 2013-03-19T19: 00: 50 " I am trying to convert it to
NSDate in
NSDateFormatter
Date in date format: (empty)
[dateFormatter setDateFormat: @ "yyyy - MM-dd'T'HH: mm: ss "];
HH is required <12> > There is an added text on it.
Comments
Post a Comment