3 Replies Latest reply: Jun 25, 2013 5:33 AM by Sagay RSS

    setting maxDate using javascript

    user575281

      I am struggling to set the maxDate of a datetimepicker.

       

       

      In the document load of the page I have this:

       

      $('#P64_STARTDT').datepicker("option", "maxDate", $v('P64_XFORMATSTARTDT'));

       

      P64_XFORMATSTARTDT is in the format YYYYMMDDHH24MI

       

      It never sets it.

       

      Ed.