title: Objective c different date format
body: <p>I am developing an ios application with objective c. I use current date for my business.</p>
  
  <pre><code>NSDateFormatter *df1=[[[NSDateFormatter alloc] init] autorelease];
  [df1 setDateFormat:@"ddyymmssHHMMssHHyyddMMmm"];
  NSString *key=[df1 stringFromDate:[NSDate date]];
  NSLog(@"%@",key);
  </code></pre>
  
  <p>Some iPhone device generate this below. </p>
  
  <blockquote>
    <p>16186:43:26 PM116 PM (second: 26)18161143</p>
  </blockquote>
  
  <p>But I want this formatted value. That's how all devices generate.</p>
  
  <blockquote>
    <p>121846281112281118121246</p>
  </blockquote>
  
  <p>Why do some iPhone devices return incorrect results?</p>