title: ios date time in am pm date formatter issue
body: <p>i am trying to change date string get from data base to date(mm.dd.yy) and time(am pm).
  this way i am getting date time from sqlite:</p>
  
  <pre><code>rs=[db executeQuery:@"select *,strftime('%m.%d.%Y %H:%M',update_date) AS DATETIME from sales_order where deleted=0 and status=1 and customer_id=?  order by order_id desc",custId];
  </code></pre>
  
  <p>i get date time string :</p>
  
  <pre><code>        NSString *dateTimeString = [rs stringForColumn:@"DATETIME"];//from nslog 02.25.2014 14:41
  </code></pre>
  
  <p>then i initiate date formatter and get date:</p>
  
  <pre><code>NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
      [dateFormatter setLocale:[self getCurrentLocale]];
  
      [dateFormatter setDateFormat:@"mm dd YY hh:mm a"];//it is nil,i am stuck here also tried with mm.dd.YY hh:mm a
      NSDate *date = [dateFormatter dateFromString:dateTimeString];
  </code></pre>
  
  <p>Any suggestion
  thanks</p>