[Solved] Converting timestamp string with T and Z characters to NSDate [duplicate]


That is an ISO date. The Z stands for Zulu but means UTC time.

Try:

[formatter setDateFormat:@"yyyy-MM-dd'T'HH:mm:ssZZZZZ"];

To feed your initial nsdate.

4

solved Converting timestamp string with T and Z characters to NSDate [duplicate]