title: How to extract unix timestamp and get date
body: <p>I have an integer </p>
  
  <pre><code>x := 1468540800
  </code></pre>
  
  <p>I want to fetch the date out of this unix timestamp in Golang. I have tried <code>time.ParseDuration</code> but looks like that's not the correct way to extract date out of this. Converstion should happen like this <a href="http://www.unixtimestamp.com/index.php" rel="nofollow">http://www.unixtimestamp.com/index.php</a><br>
  I intend to convert into in ISO 8601 format may be. I want string like <code>2016-09-14</code>.</p>