title: How to get the day of year in ruby?
body: <p>What is the best way to get the day of the year for any specific date in Ruby?</p>
  
  <p>For example: <code>31/dec/2009</code> should return <code>day 365</code>, and <code>01/feb/2008</code> should return <code>day 32</code></p>