title: Obj-C, problem formatting date, gaining a day?
body: <p>I've discovered a bug in my app / function. I pass in a NSString of a date.
  The function then uses the NSDateFotmatterShortStyle.</p>
  
  <p>Heres a screen shot of my function in the debugger.</p>
  
  <p>I'd like to end up with a date of 2011-04-18
  Not sure why its added 1ppm either, I need it to be 00:00:00</p>
  
  <p><img src="https://i.stack.imgur.com/89KHG.jpg" alt="enter image description here"></p>
  
  <p>Whats happening and how do I fix this ?</p>
  
  <p>I use the MidnightUTC function from here ( <a href="https://stackoverflow.com/questions/4832536/how-do-i-create-the-current-date-or-any-date-as-an-nsdate-without-hours-minute">How do I create the current date (or any date) as an NSDate without hours, minutes and seconds?</a> ) to get rid of the hours.</p>