title: Can I use NSDateFormatter to convert this date string to an NSDate?
body: <p>I have this string...</p>
  
  <pre><code>2010-08-24T16:00:00-05:00
  </code></pre>
  
  <p>and I'd like to extract the time portion from it (i.e. 16:00) and convert it to its 12-hour equivalent (i.e. 04:00 pm).  I'm trying to use NSDateFormatter to accomplish this, but it's not working...</p>
  
  <pre><code>NSDateFormatter* dateformatter = [[NSDateFormatter alloc] init];
  [dateformatter setDateFormat:@"hh:mm a"];
  NSDate *date1 = [dateformatter dateFromString:[listOfTimes objectAtIndex:0]];
  [dateformatter release];
  </code></pre>
  
  <p>Can I use NSDateFormatter with this date format?  If not, how can I extract the time and convert it to its 12-hour time equivalent?</p>
  
  <p>Thanks!</p>