Converting python time stamp to day of year
<p>How can I convert a python timestamp into day of year:</p>

<pre><code>Timestamp('2015-06-01 00:00:00')
</code></pre>

<p>I want a number where Jan 1 is 1, Jan 2 is 2... Dec 31 is 365 (for a non-leap year)</p>