title: Converting "Mar 13, 2013 05:30pm" to an NSDate
body: <p>I have the following string <code>"Mar 13, 2013 05:30pm"</code> . I want to convert it into the <code>NSDate</code> object.</p>
  
  <p>I have tried the following way but it is not working.</p>
  
  <pre><code>NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
  [dateFormatter setDateFormat:@"MMM:dd, YYYY hh:mm:aa"];
  date=[dateFormatter dateFromString:dateString];
  </code></pre>