title: set the max date on kendo date picker from client side
body: <p>I have this:</p>
  
  <pre><code>var today = new Date();
  </code></pre>
  
  <p>Updating the kendo datepicker:</p>
  
  <pre><code>$('#datepicker').kendoDatePicker({
      max: today.setDate(today.getDate()+30);
  });
  </code></pre>
  
  <p>In the debugger the max value is <code>1404408808080</code> but in today variable the date is right one <code>2014-07-03T17:3</code>. Want to set the max date for kendodatepicker 30 days from the current date.</p>