[Solved] Why is this NSDate not formatting properly? [duplicate]


Note that in console you’re seeing 0000 timezone, which means UTC, while your UI works on system default timezone (yours).

This is because debug console uses description method, that formats date to UTC, you might want to add something like

 NSLog(@"%@", [formatter stringFromDate:pick.date]);

so that you’re seeing exactly the same thing in UI and console.

solved Why is this NSDate not formatting properly? [duplicate]