Date Format of full date response
<p>I have this date string:</p>

<blockquote>
  <p>2014-03-09T00:00:00+01:00</p>
</blockquote>

<p>Tried to parse it to timestamp using this code:</p>

<pre><code>NSDateFormatter * dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateFormat:@"yyyy-mm-dd'T'HH:mm:ss"];
NSDate *date = [dateFormatter dateFromString:response];
NSLog(@"%@", date);
NSTimeInterval timestamp = [date timeIntervalSince1970];
</code></pre>

<p>But it always returns nil in <code>NSLog</code>. What is the proper dateFormat for my date string?</p>

<p>I use same date format in Android app and it works but does not in Obj-C.</p>