title: What format string do I use for milliseconds in date strings on iPhone?
body: <p>I'm required to parse strings in a format that includes milliseconds. What format string do I use to get the right date value?</p>
  
  <p>For example, suppose I have a string with the following value: "2011-06-23T13:13:00.000"</p>
  
  <p>What format string do I pass to my NSDateFormatter in the following code?</p>
  
  <pre><code>NSString *dateValue = @"2011-06-23T13:13:00.000";
  NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
  NSString *formatString = @"yyyy-MM-dd'T'HH:mm:ss.???";
  [formatter setDateFormat:formatString];
  NSDate *date = [formatter dateFromString:dateValue];
  </code></pre>
  
  <p>What do I use in place of ??? in the code above? </p>