title: date formatting using nsdate formatter
body: <p>I am getting data in following format</p>
  
  <pre><code>20130224233000 where,
  
  2013 - year
  02 month 
  24 day
  
  23 hh 
  30 mm
  00 ss
  </code></pre>
  
  <p>and I want in following format</p>
  
  <pre><code>Wednesday, 24-Feb-13  11:30 PM
  </code></pre>
  
  <p>I tried as below code</p>
  
  <pre><code>NSDate *today = [NSDate date];
  NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init];
  [dateFormat setDateFormat:@"MM/dd/yyyy hh:mma"];
  NSString *dateString = [dateFormat stringFromDate:today];
  return dateString;
  </code></pre>
  
  <p>but it give a format which I don"t required</p>