Correct dateFormat is:
dateFormater.dateFormat = "'Optional'(mm),'Optional'(dd),'Optional'(yyyy)"
Output: 2017-01-18 18:01:00 +0000
solved iOS correct dateFormat for “Optional(1),Optional(19),Optional(2017)”
Correct dateFormat is:
dateFormater.dateFormat = "'Optional'(mm),'Optional'(dd),'Optional'(yyyy)"
Output: 2017-01-18 18:01:00 +0000
solved iOS correct dateFormat for “Optional(1),Optional(19),Optional(2017)”