title: How do I format the current date for the user's locale?
body: <p>I have this code where I'm trying to get the current date and format it in the current locale.</p>
  
  <pre><code>NSDate *now = [NSDate date];  //  gets current date
  NSString *sNow = [[NSString alloc] initWithFormat:@"%@",now];
  NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
  [formatter setDateFormat:@"mm-dd-yyyy"];
  insertCmd = [insertCmd stringByAppendingString: formatter setDateFormat: @"MM.dd.yyyy"];
  </code></pre>
  
  <p>I know the last line is wrong, but can't seem to figure it out...  "insertCmd" is a NSString that I'm building for a FMDB command.</p>
  
  <p>Help would be greatly appreciated, or a pointer to the "doc" where it's described.</p>