title: Get UTC time and local time from NSDate object
body: <p>In objective-c, the following code results in the UTC date time information using the <code>date</code> API.</p>
  
  <pre><code>NSDate *currentUTCDate = [NSDate date]
  </code></pre>
  
  <p>In Swift however,</p>
  
  <pre><code>let date = NSDate.date()
  </code></pre>
  
  <p>results in local date and time.</p>
  
  <p>I have two questions:</p>
  
  <ol>
  <li>How can I get UTC time and local time (well <code>date</code> gives local time) in <code>NSDate</code> objects.</li>
  <li>How can I get precision for seconds from the <code>NSDate</code> object.</li>
  </ol>
  
  <p>EDIT 1: Thanks for all the inputs but I am not looking for <code>NSDateFormatter</code> objects or string values. I am simply looking for NSDate objects (however we cook them up but that's the requirement).<br/> See point 1.</p>