Possible Duplicate:
convert string to nsdate
The NSString has following value '2012-07-11T15:59:16'
I am unable to determine the correct format for NSDateFomatter.dateFormat property in order to covert it using dateFromString method. I tried 'yyyy-MM-ddTHH:mm:ss' and other similar formats but resultant date is nil.
A link with info about date formatting would be highly appreciated too.