title: Set current time to yyyy-MM-dd 00:00:00 using Swift
body: <p>I want to ask about <code>NSDate</code>, how to set/format current time like "2015-08-12 09:30:41 +0000" to "2015-08-12 00:00:00 +0000</p>
  
  <p>I'm already using :</p>
  
  <pre><code>var dateFormatter = NSDateFormatter()
  dateFormatter.dateStyle = .MediumStyle
  dateFormatter.timeStyle = .NoStyle
  //result date will be : Aug 12, 2015
  </code></pre>
  
  <p>but the value date is not stored  in the Database exactly as "2015-08-12 00:00:00 +0000" but storing as "2015-08-11 17:00:00 +0000 UTC"</p>