title: Given a start and end date, create an array of the dates between the two
body: <p>Right now, I have this on my page:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(document).ready(function () {
          var days = [
              { Date: new Date($('#hfEventStartDate').val()) },
              { Date: new Date($('#hfEventEndDate').val()) }
          ];
      });
  &lt;/script&gt;
  
  &lt;asp:HiddenField ID="hfEventStartDate" runat="server" /&gt;
  &lt;asp:HiddenField ID="hfEventEndDate" runat="server" /&gt;
  </code></pre>
  
  <p>I'm setting hfEventStartDate and hfEventEndDate when the page loads. With my code right now, it creates an array with two values: the start date and the end date. But I'd like to also have the array contain all the dates in between. How can I do that?</p>