Why is the following code output: Dday: (null)
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateFormat:@"EEE HH:mm:ss"];
NSDate *date = [dateFormatter dateFromString:@"Sun 15:00:00"];
DLog(@"Ddate: %@", date);
If I use the format HH: mm: ss and string 15:00:00, I get a valid date ...
Welcome buddy
mbogh source
share