3 Replies Latest reply on Jun 25, 2013 10:33 AM by Sagay

    setting maxDate using javascript

    edhrx

      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.