title: currDateEnd.setHours is not a function
body: <p>I'm trying to convert my date in ISO format and also set the hours to 23. This is my code:</p>
  
  <pre><code>var currDateEnd = $('#calendar').fullCalendar('getView').start;
  console.log(currDateEnd);
  currDateEnd.toDate().toISOString();
  console.log(currDateEnd);
  currDateEnd.setHours(23);
  </code></pre>
  
  <p><strong>OUTPUT</strong></p>
  
  <pre><code>Mon Oct 19 2015 02:00:00 GMT+0200 (ora legale Europa occidentale)
  
  Mon Oct 19 2015 02:00:00 GMT+0200 (ora legale Europa occidentale)
  </code></pre>
  
  <p>but on the last one line I get this error:</p>
  
  <blockquote>
    <p>currDateEnd.setHours is not a function</p>
  </blockquote>
  
  <p>What am I doing wrong? Is there a way to fix this?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Running the code below:</p>
  
  <pre><code>var currDateEnd = $('#calendar').fullCalendar('getView').start;
  console.log("currDateEnd iso =&gt; ", currDateEnd.toDate().toISOString());
  </code></pre>
  
  <p>produces this output: </p>
  
  <blockquote>
    <p>currDateEnd iso =>  2015-10-19T00:00:00.000Z</p>
  </blockquote>