how to increment between a range of dates using javascript
<p>I need to increment between a range of dates using javascript. I have start_date and end_date in the following format.</p>

<pre><code>var start_date = Fri Nov 09 2012
var end_date = Thu Nov 15 2012
</code></pre>

<p>I need to call a function which accepts all the dates by looping between start dates and end dates as parameter. Something like this</p>

<pre><code>for (date = start_date; date &lt; end_date; date++) {
    getCellFromDate(date, calInstance);
}
</code></pre>

<p>I need to provide the parameters to getCellFromDate in the same date format(Fri Nov 09 2012) . How do I achieve this..I am new to javascript.. Please help</p>
