title: How do I NSLog an NSDate?
body: <p>With the code pasted below, I am trying to log an NSDate. What am I doing wrong here?</p>
  
  <pre><code>NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
  [formatter setDateFormat:@"YYYY-MM-dd"];
  NSDate *todaysDate;
  todaysDate = [NSDate date];
  NSLog(@"Todays date is %@",formatter);
  </code></pre>