title: Swift - Get date from day of year
body: <p>We can get day of year for date using below line.</p>
  
  <pre><code>let day = cal.ordinalityOfUnit(.Day, inUnit: .Year, forDate: date)
  </code></pre>
  
  <p>But how can we get the date from day of year?</p>