Javascript calculate days in a year (Year-to-date)
<p>How to use javascript calculate <strong>days(Year-to-date)</strong> in a year?</p>

<hr>

<p><em>Add:</em></p>

<p>I just want today's day in a year. <em>For example</em>, <strong>January 3</strong> should be <strong>3</strong>. <strong>February 1</strong> should be <strong>32</strong>.</p>
