I have a string form 2019-06-22T01:11:08.996Z but I can't work out why my date formatter won't convert it to an NSDate object. I have tried using yyyy-MM-dd'T'HH:mm:ssZ. But I always get nil.
What would be the correct format for form date as above?